diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-07 04:28:30 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-07 04:28:30 (GMT) |
commit | cd9b0c9f1ae1863c383a5cf7e19e8b17d8f618ba (patch) | |
tree | 3da3f83459fde89afab69de35d22e0ee8baea801 /tools/qml/deviceorientation.cpp | |
parent | 99c5c9761e3306c951558100c76570d8eadf09a9 (diff) | |
parent | ead14cd61da071ac10e7a83b9c1d05098cf2a679 (diff) | |
download | Qt-cd9b0c9f1ae1863c383a5cf7e19e8b17d8f618ba.zip Qt-cd9b0c9f1ae1863c383a5cf7e19e8b17d8f618ba.tar.gz Qt-cd9b0c9f1ae1863c383a5cf7e19e8b17d8f618ba.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Pause orientation sensors in Qml Viewer when the application window is not active
Diffstat (limited to 'tools/qml/deviceorientation.cpp')
-rw-r--r-- | tools/qml/deviceorientation.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/qml/deviceorientation.cpp b/tools/qml/deviceorientation.cpp index e7c70d5..d3014ad 100644 --- a/tools/qml/deviceorientation.cpp +++ b/tools/qml/deviceorientation.cpp @@ -53,6 +53,11 @@ public: return m_orientation; } + void pauseListening() { + } + void resumeListening() { + } + void setOrientation(Orientation o) { if (o != m_orientation) { m_orientation = o; |