summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xlib/qxlibintegration.h
diff options
context:
space:
mode:
authorMorten Sorvig <morten.sorvig@nokia.com>2011-06-21 13:40:57 +0200
committerMorten Sorvig <morten.sorvig@nokia.com>2011-06-22 09:47:49 +0200
commit4efaf305f51d09e214645a18a7bfa62bc36e2c61 (patch)
tree6454f785f42e1e2be1d1422f81e3bbe1ad8b1158 /src/plugins/platforms/xlib/qxlibintegration.h
parent18c1d671371ef8d94506a9a6dd6ee3680ef80fd3 (diff)
Add lighthouse event dispatcher API.
Platform plugin creation is now moved forward in order to have a platform plugin instance at event dispatcher creation time. Plugins are now responsible for implementing PlatformIntegration::createEventDispatcher and returning an QAbstractEventDispatcher subclass.
Diffstat (limited to 'src/plugins/platforms/xlib/qxlibintegration.h')
-rw-r--r--src/plugins/platforms/xlib/qxlibintegration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/xlib/qxlibintegration.h b/src/plugins/platforms/xlib/qxlibintegration.h
index 9c814ead69..ce5f35a41d 100644
--- a/src/plugins/platforms/xlib/qxlibintegration.h
+++ b/src/plugins/platforms/xlib/qxlibintegration.h
@@ -64,6 +64,7 @@ public:
QPixmapData *createPixmapData(QPixmapData::PixelType type) const;
QPlatformWindow *createPlatformWindow(QWidget *widget, WId winId) const;
QWindowSurface *createWindowSurface(QWidget *widget, WId winId) const;
+ QAbstractEventDispatcher *createEventDispatcher() const;
QPixmap grabWindow(WId window, int x, int y, int width, int height) const;