Numbers on gravity scale
[ameter] / mainwindow.h
index 6189ba3..8411575 100644 (file)
@@ -8,6 +8,10 @@
 
 #include <QtSensors/QAccelerometer>
 
+#ifdef Q_WS_MAEMO_5
+#include <QtDBus/QtDBus>
+#endif
+
 // Neccessary for Qt Mobility API usage
 QTM_USE_NAMESPACE
 
@@ -32,11 +36,19 @@ public:
     void showExpanded();
 
 public slots:
-       void changeSettings();
+       void showAbout();
+       void showSettings();
+#ifdef Q_WS_MAEMO_5
+       void screenChange(const QDBusMessage &message);
+#endif
 
 private:
        QAccelerometer *accelerometer;
        AMeterWidget *awidget;
+#ifdef Q_WS_MAEMO_5
+       QDBusInterface *dBusInterface;
+#endif
 };
 
 #endif // MAINWINDOW_H
+