summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxintegration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxintegration.h')
-rw-r--r--src/plugins/platforms/qnx/qqnxintegration.h39
1 files changed, 26 insertions, 13 deletions
diff --git a/src/plugins/platforms/qnx/qqnxintegration.h b/src/plugins/platforms/qnx/qqnxintegration.h
index 6aa16100ad..f29baf1323 100644
--- a/src/plugins/platforms/qnx/qqnxintegration.h
+++ b/src/plugins/platforms/qnx/qqnxintegration.h
@@ -52,9 +52,13 @@ QT_BEGIN_NAMESPACE
class QQnxEventThread;
class QQnxInputContext;
+class QQnxNativeInterface;
class QQnxNavigatorEventHandler;
+class QQnxAbstractVirtualKeyboard;
class QQnxWindow;
class QQnxServices;
+class QQnxScreen;
+class QQnxScreenEventHandler;
#ifndef QT_NO_CLIPBOARD
class QQnxClipboard;
@@ -67,47 +71,56 @@ class QQnxIntegration : public QPlatformIntegration
{
public:
QQnxIntegration();
- virtual ~QQnxIntegration();
+ ~QQnxIntegration();
- virtual bool hasCapability(QPlatformIntegration::Capability cap) const;
+ bool hasCapability(QPlatformIntegration::Capability cap) const;
- virtual QPlatformWindow *createPlatformWindow(QWindow *window) const;
- virtual QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const;
- virtual QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const;
+ QPlatformWindow *createPlatformWindow(QWindow *window) const;
+ QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const;
+ QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const;
- virtual QPlatformInputContext *inputContext() const;
+ QPlatformInputContext *inputContext() const;
- virtual QList<QPlatformScreen *> screens() const;
- virtual void moveToScreen(QWindow *window, int screen);
+ void moveToScreen(QWindow *window, int screen);
- virtual QAbstractEventDispatcher *guiThreadEventDispatcher() const;
+ QAbstractEventDispatcher *guiThreadEventDispatcher() const;
- virtual QPlatformFontDatabase *fontDatabase() const { return m_fontDatabase; }
+ QPlatformFontDatabase *fontDatabase() const { return m_fontDatabase; }
+
+ QPlatformNativeInterface *nativeInterface() const;
#ifndef QT_NO_CLIPBOARD
- virtual QPlatformClipboard *clipboard() const;
+ QPlatformClipboard *clipboard() const;
#endif
- virtual QVariant styleHint(StyleHint hint) const;
+ QVariant styleHint(StyleHint hint) const;
bool paintUsingOpenGL() const { return m_paintUsingOpenGL; }
- virtual QPlatformServices *services() const;
+ QPlatformServices *services() const;
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);
screen_context_t m_screenContext;
QQnxEventThread *m_eventThread;
QQnxNavigatorEventHandler *m_navigatorEventHandler;
+ QQnxAbstractVirtualKeyboard *m_virtualKeyboard;
QQnxInputContext *m_inputContext;
QPlatformFontDatabase *m_fontDatabase;
bool m_paintUsingOpenGL;
QAbstractEventDispatcher *m_eventDispatcher;
+ QQnxNativeInterface *m_nativeInterface;
QQnxServices *m_services;
+ QList<QQnxScreen*> m_screens;
+ QQnxScreenEventHandler *m_screenEventHandler;
#ifndef QT_NO_CLIPBOARD
mutable QQnxClipboard* m_clipboard;
#endif