summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformintegration_qpa.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-03-01 09:09:18 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-03-01 09:31:15 (GMT)
commit044e06d5a40e3f8d5ae6861341b1f5449e3c0afe (patch)
tree036db8683d10e7c254463a751602f2acb0bb751d /src/gui/kernel/qplatformintegration_qpa.h
parent93e0fc1476757331d25b9fe2d357e930eda55331 (diff)
downloadQt-044e06d5a40e3f8d5ae6861341b1f5449e3c0afe.zip
Qt-044e06d5a40e3f8d5ae6861341b1f5449e3c0afe.tar.gz
Qt-044e06d5a40e3f8d5ae6861341b1f5449e3c0afe.tar.bz2
Lighthouse: Add a native interface.
Sometimes in applications code you need to get the native handles for displays, egl displays etc. The native interface class is how you access these handles. Reviewed-by: paul
Diffstat (limited to 'src/gui/kernel/qplatformintegration_qpa.h')
-rw-r--r--src/gui/kernel/qplatformintegration_qpa.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.h b/src/gui/kernel/qplatformintegration_qpa.h
index 7050245..f01d462 100644
--- a/src/gui/kernel/qplatformintegration_qpa.h
+++ b/src/gui/kernel/qplatformintegration_qpa.h
@@ -60,6 +60,7 @@ class QWidget;
class QPlatformEventLoopIntegration;
class QPlatformFontDatabase;
class QPlatformClipboard;
+class QPlatformNativeInterface;
class Q_GUI_EXPORT QPlatformIntegration
{
@@ -89,7 +90,8 @@ public:
//jl:XXX should it be hasGLContext and do we need it at all?
virtual bool hasOpenGL() const;
-
+// Access native handles. The window handle is allready available from Wid;
+ virtual QPlatformNativeInterface *nativeInterface() const;
};
QT_END_NAMESPACE