diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-07-09 14:04:46 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-07-09 14:04:46 (GMT) |
commit | e7054204ff74bde531d293de5b360587724f6857 (patch) | |
tree | d334bfe4000ce606eb6e732923c915edfb7c3a07 /src/gui/kernel/qwidget.h | |
parent | c7590d9f255e1efd3dc528e1052f997f4f477009 (diff) | |
download | Qt-e7054204ff74bde531d293de5b360587724f6857.zip Qt-e7054204ff74bde531d293de5b360587724f6857.tar.gz Qt-e7054204ff74bde531d293de5b360587724f6857.tar.bz2 |
Added QPlatformWindowFormat
Its mostly a copy of QGLFormat
Only plugin that uses it is the openkode, and thats just a poc.
Diffstat (limited to 'src/gui/kernel/qwidget.h')
-rw-r--r-- | src/gui/kernel/qwidget.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget.h b/src/gui/kernel/qwidget.h index 8e08ce5..c750465 100644 --- a/src/gui/kernel/qwidget.h +++ b/src/gui/kernel/qwidget.h @@ -56,6 +56,10 @@ #include <QtGui/qcursor.h> #include <QtGui/qkeysequence.h> +#ifdef Q_WS_QPA //should this go somewhere else? +#include <QtGui/qplatformwindowformat_qpa.h> +#endif + #ifdef QT_INCLUDE_COMPAT #include <QtGui/qevent.h> #endif @@ -631,6 +635,10 @@ public: #if defined(Q_WS_QPA) void setPlatformWindow(QPlatformWindow *window); QPlatformWindow *platformWindow() const; + + void setPlatformWindowFormat(const QPlatformWindowFormat &format); + QPlatformWindowFormat platformWindowFormat() const; + friend class QDesktopScreenWidget; #endif |