00001 #ifndef BALL_VIEW_DIALOGS_OPENSAVEPREFERENCES_H 00002 #define BALL_VIEW_DIALOGS_OPENSAVEPREFERENCES_H 00003 00004 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY 00005 # include <BALL/VIEW/KERNEL/preferencesEntry.h> 00006 #endif 00007 00008 #include <BALL/VIEW/UIC/ui_openSavePreferences.h> 00009 00010 #include <QtGui/QWidget> 00011 00012 namespace BALL 00013 { 00014 namespace VIEW 00015 { 00016 class OpenSavePreferences 00017 : public QWidget, 00018 public Ui_OpenSavePreferencesData, 00019 public PreferencesEntry 00020 { 00021 Q_OBJECT 00022 00023 public: 00024 OpenSavePreferences(QWidget* parent = 0, 00025 const char* name = "Open/Save Preferences", 00026 Qt::WFlags fl = 0); 00027 00028 ~OpenSavePreferences(); 00029 00030 void storeValues(); 00031 bool binaryProjectsEnabled(); 00032 }; 00033 } 00034 } 00035 00036 #endif //BALL_VIEW_DIALOGS_OPENSAVEPREFERENCES_H