summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylandnativeinterface.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-05-06 12:12:00 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-05-06 12:12:00 +0200
commitf9442d7c51f35362f22b39a53dd019e26884bfd5 (patch)
treec69b7b2d01d318bcedfc5de628a1cc6d084db36d /src/plugins/platforms/wayland/qwaylandnativeinterface.h
parentacf56efdc75704bad69229cb764df0e9af2c1d0b (diff)
Fixed compilation of Wayland plugin.
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandnativeinterface.h')
-rw-r--r--src/plugins/platforms/wayland/qwaylandnativeinterface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandnativeinterface.h b/src/plugins/platforms/wayland/qwaylandnativeinterface.h
index ac4cdb9a22..dbb17a63a9 100644
--- a/src/plugins/platforms/wayland/qwaylandnativeinterface.h
+++ b/src/plugins/platforms/wayland/qwaylandnativeinterface.h
@@ -49,11 +49,11 @@
class QWaylandNativeInterface : public QPlatformNativeInterface
{
public:
- void *nativeResourceForWidget(const QByteArray &resourceString,
- QWidget *widget);
+ void *nativeResourceForWindow(const QByteArray &resourceString,
+ QWindow *window);
private:
- static QWaylandScreen *qPlatformScreenForWidget(QWidget *widget);
+ static QWaylandScreen *qPlatformScreenForWindow(QWindow *window);
};