X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=settingswindow.h;h=c3f52326917257c7aa02b15532d55485ea11c95f;hb=HEAD;hp=7a9ced5921aca45d3fec7cf928d9bf9fa82c75e8;hpb=5d2c3cdf432afd91f2ee5851678a1f763493b10c;p=dorian diff --git a/settingswindow.h b/settingswindow.h index 7a9ced5..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; @@ -12,13 +15,13 @@ class QLabel; class ToolButtonBox; /** Display settings. */ -class SettingsWindow: public QMainWindow +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: @@ -32,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