Add back splash screen.
[dorian] / settingswindow.h
index 613e3ad..6cf421f 100644 (file)
@@ -1,15 +1,21 @@
 #ifndef SETTINGSWINDOW_H
 #define SETTINGSWINDOW_H
 
-#include <QMainWindow>
+#include <QLabel>
+#include <QSlider>
+
+#include "adopterwindow.h"
 
 class QPushButton;
 class QFontComboBox;
 class QFont;
 class QSlider;
 class QFontComboBox;
+class QLabel;
+class ToolButtonBox;
 
-class SettingsWindow: public QMainWindow
+/** Display settings. */
+class SettingsWindow: public AdopterWindow
 {
     Q_OBJECT
 
@@ -25,15 +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;
+    ToolButtonBox *orientationBox;
 };
 
 #endif // SETTINGSWINDOW_H