#ifndef PREFSOFIA_H #define PREFSOFIA_H #include #include "ui_prefdialog.h" class QSettings; class PrefSofia : public QObject { Q_OBJECT public: explicit PrefSofia(Ui::PrefDialog *ui, QObject *parent = 0); void writeConfig(); void readConfig(); private: QSettings *_settings; Ui::PrefDialog *_ui; }; #endif // PREFSOFIA_H