diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2011-04-29 16:02:36 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2011-04-29 17:07:06 +0200 |
commit | a90d1b432c32becb9066e1542e44c0d7e0147fcc (patch) | |
tree | 235991b04e0fa3e593656fa4065adcba91f535b3 /src/plugins/platforms/wayland/qwaylandshmsurface.h | |
parent | 6e2bbb58fd779d3e969c0adb1cc98f64c8c7b2ee (diff) |
Make the wayland plugin compile
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandshmsurface.h')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylandshmsurface.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandshmsurface.h b/src/plugins/platforms/wayland/qwaylandshmsurface.h index b29ceaf1b8..ce3e5ff5b9 100644 --- a/src/plugins/platforms/wayland/qwaylandshmsurface.h +++ b/src/plugins/platforms/wayland/qwaylandshmsurface.h @@ -44,7 +44,7 @@ #include "qwaylandbuffer.h" #include <QtGui/private/qwindowsurface_p.h> - +#include <QtGui/QImage> #include <QtGui/QPlatformWindow> QT_BEGIN_NAMESPACE @@ -65,11 +65,11 @@ private: class QWaylandShmWindowSurface : public QWindowSurface { public: - QWaylandShmWindowSurface(QWidget *window); + QWaylandShmWindowSurface(QWindow *window); ~QWaylandShmWindowSurface(); QPaintDevice *paintDevice(); - void flush(QWidget *widget, const QRegion ®ion, const QPoint &offset); + void flush(QWindow *window, const QRegion ®ion, const QPoint &offset); void resize(const QSize &size); void beginPaint(const QRegion &); |