summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-09-15 18:28:07 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-09-15 18:46:10 (GMT)
commitd67d287c0fdff332cda673a18e0bb1617c3d2e17 (patch)
tree43e206cdbc8c9c28282e5fdc2b0b251d04e0fe87 /src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
parent6b359f3bc3b87a7e5e2b971712ec8a4b8afccdc9 (diff)
downloadQt-d67d287c0fdff332cda673a18e0bb1617c3d2e17.zip
Qt-d67d287c0fdff332cda673a18e0bb1617c3d2e17.tar.gz
Qt-d67d287c0fdff332cda673a18e0bb1617c3d2e17.tar.bz2
Export a function for getting a IDirectFBWindow
This function is only exported when DirectFB is built into QtGui. Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
index 036830a..0dd3a3b 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
@@ -93,6 +93,9 @@ public:
IDirectFBSurface *surfaceForWidget(const QWidget *widget, QRect *rect) const;
IDirectFBSurface *directFBSurface() const;
+#ifdef QT_DIRECTFB_WM
+ IDirectFBWindow *directFBWindow() const;
+#endif
private:
void updateFormat();
void releaseSurface();