diff options
-rw-r--r-- | main.cpp | 4 | ||||
-rw-r--r-- | qgraphicssystem_dd.cpp | 2 | ||||
-rw-r--r-- | qgraphicssystem_dd.h | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -30,7 +30,7 @@ class QDevDaysGraphicsSystemPlugin : public QPlatformIntegrationPlugin { public: QStringList keys() const; - QPlatformIntegration *create(const QString &system); + QPlatformIntegration *create(const QString &system, const QStringList ¶mList); }; QStringList QDevDaysGraphicsSystemPlugin::keys() const @@ -40,7 +40,7 @@ QStringList QDevDaysGraphicsSystemPlugin::keys() const return list; } -QPlatformIntegration* QDevDaysGraphicsSystemPlugin::create(const QString &system) +QPlatformIntegration* QDevDaysGraphicsSystemPlugin::create(const QString &system, const QStringList &) { if (system.toLower() == "devdays") return new QDevDaysGraphicsSystem; diff --git a/qgraphicssystem_dd.cpp b/qgraphicssystem_dd.cpp index da93be7..da42f27 100644 --- a/qgraphicssystem_dd.cpp +++ b/qgraphicssystem_dd.cpp @@ -218,7 +218,7 @@ QPixmapData *QDevDaysGraphicsSystem::createPixmapData(QPixmapData::PixelType typ return new QRasterPixmapData(type); } -QWindowSurface *QDevDaysGraphicsSystem::createWindowSurfaceForWindow(QWidget *widget, WId) const +QWindowSurface *QDevDaysGraphicsSystem::createWindowSurface(QWidget *widget, WId) const { qDebug() << "SYSTEM: create window surface"; // send create request to the server diff --git a/qgraphicssystem_dd.h b/qgraphicssystem_dd.h index 7240cac..bda5b41 100644 --- a/qgraphicssystem_dd.h +++ b/qgraphicssystem_dd.h @@ -101,7 +101,7 @@ public: // QGraphicsSystem interface QPixmapData *createPixmapData(QPixmapData::PixelType type) const; QPlatformWindow *createPlatformWindow(QWidget *widget, WId winId) const; - QWindowSurface *createWindowSurfaceForWindow(QWidget *widget, WId winId) const; + QWindowSurface *createWindowSurface(QWidget *widget, WId winId) const; QList<QPlatformScreen*> screens() const; |