diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-04-23 08:19:39 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-04-23 08:19:39 (GMT) |
commit | 9fd7d1dd2822a410588da6042d57ac84fb5da1c8 (patch) | |
tree | 838002ca4d011a8e81373c38cb519a9b83eb82d6 /src/opengl/qwindowsurface_gl_p.h | |
parent | e45139ea8ba05d25bc2ead99b6d3b495bc4f84ad (diff) | |
download | Qt-9fd7d1dd2822a410588da6042d57ac84fb5da1c8.zip Qt-9fd7d1dd2822a410588da6042d57ac84fb5da1c8.tar.gz Qt-9fd7d1dd2822a410588da6042d57ac84fb5da1c8.tar.bz2 |
Update QGLWindowSurface to reflect geometry -> size name change
Diffstat (limited to 'src/opengl/qwindowsurface_gl_p.h')
-rw-r--r-- | src/opengl/qwindowsurface_gl_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/opengl/qwindowsurface_gl_p.h b/src/opengl/qwindowsurface_gl_p.h index 8ea714c..9d17514 100644 --- a/src/opengl/qwindowsurface_gl_p.h +++ b/src/opengl/qwindowsurface_gl_p.h @@ -86,7 +86,13 @@ public: QPaintDevice *paintDevice(); void flush(QWidget *widget, const QRegion ®ion, const QPoint &offset); + +#if !defined(Q_WS_LITE) void setGeometry(const QRect &rect); +#else + virtual void resize(const QSize &size); +#endif + void updateGeometry(); bool scroll(const QRegion &area, int dx, int dy); |