X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=settingswindow.h;h=6cf421fb9268c6d684cab5df6fe1db5b2209449c;hb=3ede52dcbd58dbbecc0560df8f9892f08560b70a;hp=f12070172f8bb7044ea50509a2b9d9fbbc1ce083;hpb=826aea4a3e3f4b4361b7592ad824963a529ffefd;p=dorian diff --git a/settingswindow.h b/settingswindow.h index f120701..6cf421f 100644 --- a/settingswindow.h +++ b/settingswindow.h @@ -1,16 +1,21 @@ #ifndef SETTINGSWINDOW_H #define SETTINGSWINDOW_H -#include +#include +#include + +#include "adopterwindow.h" class QPushButton; class QFontComboBox; class QFont; class QSlider; class QFontComboBox; -class QButtonGroup; +class QLabel; +class ToolButtonBox; -class SettingsWindow: public QMainWindow +/** Display settings. */ +class SettingsWindow: public AdopterWindow { Q_OBJECT @@ -26,16 +31,17 @@ public slots: void onCurrentFontChanged(const QFont &); void onSchemeButtonClicked(int id); void onOrientationButtonClicked(int id); + void onLightsToggled(bool enable); + void onGrabVolumeToggled(bool enable); protected: -#ifdef Q_WS_MAEMO_5 void closeEvent(QCloseEvent *e); -#endif private: QSlider *zoomSlider; + QLabel *zoomLabel; QFontComboBox *fontButton; - QButtonGroup *orientationGroup; + ToolButtonBox *orientationBox; }; #endif // SETTINGSWINDOW_H