#ifndef PROFILEDIALOG_H_ #define PROFILEDIALOG_H_ #include #include "ui_profileDialog.h" #include "mainWindow.h" class profileDialog: public QDialog, private Ui::ProfileDialogClass { Q_OBJECT public: profileDialog(QWidget * parent = 0); ~profileDialog(); public Q_SLOTS: void add(); void remove(); void save(); void load(); private: QSettings *_profiles; QString _current; }; #endif /* PROFILEDIALOG_H_ */