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 #ifdef BALL_COMPILER_MSVC 00009 # include <BALL/VIEW/UIC/ui_openSavePreferences.h> 00010 #else 00011 # include <BALL/VIEW/UIC/openSavePreferencesData.h> 00012 #endif 00013 00014 #include <QtGui/QWidget> 00015 00016 namespace BALL 00017 { 00018 namespace VIEW 00019 { 00020 class OpenSavePreferences 00021 : public QWidget, 00022 public Ui_OpenSavePreferencesData, 00023 public PreferencesEntry 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 OpenSavePreferences(QWidget* parent = 0, 00029 const char* name = "Open/Save Preferences", 00030 Qt::WFlags fl = 0); 00031 00032 ~OpenSavePreferences(); 00033 00034 void storeValues(); 00035 bool binaryProjectsEnabled(); 00036 }; 00037 } 00038 } 00039 00040 #endif //BALL_VIEW_DIALOGS_OPENSAVEPREFERENCES_H