diff options
author | Thomas McGuire <thomas.mcguire@kdab.com> | 2012-03-29 15:23:57 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-30 21:51:14 +0200 |
commit | b5f343b3677a7c7f09d91d7d60f310717325e840 (patch) | |
tree | 9c2bf3b9858f88ad3d2b7943686a75566c6fc9c2 /src/plugins/platforms/qnx/qqnxintegration.h | |
parent | 5d7f7e6559bb78795c0572a605c2e635d28ec017 (diff) |
Remove static methods in QQnxScreen
Change-Id: If0fd910848ba70d3b0a2d948065b09337f8e51c3
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxintegration.h')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxintegration.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/platforms/qnx/qqnxintegration.h b/src/plugins/platforms/qnx/qqnxintegration.h index 12fb60ab19..ef654bf746 100644 --- a/src/plugins/platforms/qnx/qqnxintegration.h +++ b/src/plugins/platforms/qnx/qqnxintegration.h @@ -56,6 +56,7 @@ class QQnxNavigatorEventHandler; class QQnxAbstractVirtualKeyboard; class QQnxWindow; class QQnxServices; +class QQnxScreen; #ifndef QT_NO_CLIPBOARD class QQnxClipboard; @@ -78,7 +79,6 @@ public: QPlatformInputContext *inputContext() const; - QList<QPlatformScreen *> screens() const; void moveToScreen(QWindow *window, int screen); QAbstractEventDispatcher *guiThreadEventDispatcher() const; @@ -98,6 +98,10 @@ public: static QWindow *window(screen_window_t qnxWindow); private: + void createDisplays(); + void destroyDisplays(); + QQnxScreen *primaryDisplay() const; + static void addWindow(screen_window_t qnxWindow, QWindow *window); static void removeWindow(screen_window_t qnxWindow); @@ -110,6 +114,7 @@ private: bool m_paintUsingOpenGL; QAbstractEventDispatcher *m_eventDispatcher; QQnxServices *m_services; + QList<QQnxScreen*> m_screens; #ifndef QT_NO_CLIPBOARD mutable QQnxClipboard* m_clipboard; #endif |