00001 #ifndef PREFERENCESDIALOG_H_ 00002 #define PREFERENCESDIALOG_H_ 00003 #include <QtGui> 00004 #include "../../build/ui_PreferencesDialog.h" 00005 #include "../Settings/settings.h" 00006 00007 class CPreferences : public QDialog, private Ui::PreferencesDialog { 00008 Q_OBJECT 00009 public: 00010 CPreferences(); 00011 ~CPreferences(); 00012 00013 CSettings *configuration; 00014 protected slots: 00015 void writeConfig(); 00016 void browseLanguage(); 00017 private: 00018 void loadSettings(); 00019 }; 00020 00021 #endif /*PREFERENCESDIALOG_H_*/