X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=settingswindow.h;h=c3f52326917257c7aa02b15532d55485ea11c95f;hb=HEAD;hp=d5193c2f8e5916d09b148e032917aaf64e6dfd43;hpb=a0350a125756f86873ddd67bda42dd22759fd1e8;p=dorian diff --git a/settingswindow.h b/settingswindow.h index d5193c2..c3f5232 100644 --- a/settingswindow.h +++ b/settingswindow.h @@ -1,7 +1,10 @@ #ifndef SETTINGSWINDOW_H #define SETTINGSWINDOW_H -#include +#include +#include + +#include "adopterwindow.h" class QPushButton; class QFontComboBox; @@ -11,13 +14,14 @@ class QFontComboBox; class QLabel; class ToolButtonBox; -class SettingsWindow: public QMainWindow +/** Display settings. */ +class SettingsWindow: public AdopterWindow { Q_OBJECT public: explicit SettingsWindow(QWidget *parent = 0); - enum {SchemeDefault, SchemeDay, SchemeNight, SchemeSand}; + enum {SchemeDay, SchemeNight, SchemeSand}; enum {OrientationPortrait, OrientationLandscape}; signals: @@ -31,15 +35,12 @@ public slots: void onGrabVolumeToggled(bool enable); protected: -#ifdef Q_WS_MAEMO_5 void closeEvent(QCloseEvent *e); -#endif private: QSlider *zoomSlider; QLabel *zoomLabel; QFontComboBox *fontButton; - ToolButtonBox *orientationBox; }; #endif // SETTINGSWINDOW_H