summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xlib/qxlibintegration.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-04-14 13:48:36 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-04-14 13:48:36 (GMT)
commitc7537e30ba4698b52d90b68875af16285785bf70 (patch)
treeca0f839784bf0447a0d619b21582b4d2642e4053 /src/plugins/platforms/xlib/qxlibintegration.h
parentb56444d86aa449e2da15d9b9fd08001f09ac9b25 (diff)
downloadQt-c7537e30ba4698b52d90b68875af16285785bf70.zip
Qt-c7537e30ba4698b52d90b68875af16285785bf70.tar.gz
Qt-c7537e30ba4698b52d90b68875af16285785bf70.tar.bz2
Remove hasOpenGL. This changes breaks binary compatibillity
so you will need to use $QTBUILDDIR/bin/syncqt and recompile all applications
Diffstat (limited to 'src/plugins/platforms/xlib/qxlibintegration.h')
-rw-r--r--src/plugins/platforms/xlib/qxlibintegration.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/xlib/qxlibintegration.h b/src/plugins/platforms/xlib/qxlibintegration.h
index f8efae0..1a2515a 100644
--- a/src/plugins/platforms/xlib/qxlibintegration.h
+++ b/src/plugins/platforms/xlib/qxlibintegration.h
@@ -60,6 +60,7 @@ class QXlibIntegration : public QPlatformIntegration
public:
QXlibIntegration(bool useOpenGL = false);
+ bool hasCapability(Capability cap) const;
QPixmapData *createPixmapData(QPixmapData::PixelType type) const;
QPlatformWindow *createPlatformWindow(QWidget *widget, WId winId) const;
QWindowSurface *createWindowSurface(QWidget *widget, WId winId) const;
@@ -73,9 +74,9 @@ public:
QPlatformNativeInterface *nativeInterface() const;
+private:
bool hasOpenGL() const;
-private:
bool mUseOpenGL;
QXlibScreen *mPrimaryScreen;
QList<QPlatformScreen *> mScreens;