summaryrefslogtreecommitdiffstats
path: root/shared/system.h
diff options
context:
space:
mode:
authorAdriano Rezende <adriano.rezende@openbossa.org>2009-11-17 15:45:44 -0300
committerAdriano Rezende <adriano.rezende@openbossa.org>2009-11-17 17:46:10 -0300
commita356e26d4825fc5a3cf877c3570af9414a7601e6 (patch)
tree9617f5404d361e421c4e8f418e270a2bb3983ac7 /shared/system.h
parentbeb8de7e0d67462acb00878d2b6242e64a71e6a2 (diff)
Shared: Added Hildon portrait/landscape support
Signed-off-by: Adriano Rezende <adriano.rezende@openbossa.org>
Diffstat (limited to 'shared/system.h')
-rw-r--r--shared/system.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/shared/system.h b/shared/system.h
index f5bea7d..1e0ff22 100644
--- a/shared/system.h
+++ b/shared/system.h
@@ -35,6 +35,9 @@
#include <QObject>
+class QWidget;
+
+
class System : public QObject
{
Q_OBJECT
@@ -42,11 +45,13 @@ class System : public QObject
public:
enum ViewMode { PortraitMode, LandscapeMode };
- static void setViewMode(ViewMode mode);
+ static void setViewMode(QWidget *window, ViewMode mode);
+#ifdef Q_OS_SYMBIAN
private slots:
void setPortraitMode();
void setLandscapeMode();
+#endif
private:
System();