diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-25 00:55:51 +0800 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-08-26 13:35:11 +0200 |
commit | 688d9f6ec0a0da5539a3d11fa1dc6e1ae0558cda (patch) | |
tree | ff8a99d6ee44d194699eb6abcf66bf17441c1245 /src/plugins/platforms/directfb/qdirectfbintegration.h | |
parent | 0d7ef7993dc18a69d0bffd78666ee6ae7fb83e34 (diff) |
directfb: Convert the directfb plugin, disable the OpenGL support
OpenGL was never tested and the platform integration has changed,
remove it from the build and re-enable it once one can test it.
Change-Id: I70d5b5b11de06e6e999d3aae44660f11d2dbc719
Reviewed-on: http://codereview.qt.nokia.com/3666
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/plugins/platforms/directfb/qdirectfbintegration.h')
-rw-r--r-- | src/plugins/platforms/directfb/qdirectfbintegration.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/plugins/platforms/directfb/qdirectfbintegration.h b/src/plugins/platforms/directfb/qdirectfbintegration.h index c3030031e1..67eed38c41 100644 --- a/src/plugins/platforms/directfb/qdirectfbintegration.h +++ b/src/plugins/platforms/directfb/qdirectfbintegration.h @@ -56,7 +56,6 @@ class QDirectFBCursor; class QDirectFbScreen : public QPlatformScreen { -Q_OBJECT public: QDirectFbScreen(int display); ~QDirectFbScreen(); @@ -86,19 +85,17 @@ public: ~QDirectFbIntegration(); QPlatformPixmap *createPlatformPixmap(QPlatformPixmap::PixelType type) const; - QPlatformWindow *createPlatformWindow(QWidget *widget, WId winId = 0) const; - QWindowSurface *createWindowSurface(QWidget *widget, WId winId) const; - QAbstractEventDispatcher *createEventDispatcher() const; - - QList<QPlatformScreen *> screens() const { return mScreens; } + QPlatformWindow *createPlatformWindow(QWindow *window) const; + QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const; + QAbstractEventDispatcher *guiThreadEventDispatcher() const; QPlatformFontDatabase *fontDatabase() const; private: - QList<QPlatformScreen *> mScreens; QDirectFbInput *mInput; QThread *mInputRunner; QPlatformFontDatabase *mFontDb; + QAbstractEventDispatcher *mEventDispatcher; }; QT_END_NAMESPACE |