summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglpaintdevice.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-10-14 12:07:41 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-10-16 21:47:29 +0200
commit6d1c4c8862161fd4aaffe307c7267ceeb408d8d8 (patch)
tree1bc2957bdb34af0ed943d3d24c47824edf70cb4a /src/gui/opengl/qopenglpaintdevice.h
parenta4ac4b326318ed9034466305222280ed8d1651b5 (diff)
Avoid breaking BC with new virtuals in QOpenGLPaintDevice
Task-number: QTBUG-41046 Change-Id: Iab628d2d6811d528e2cc513b6f8a74baa628541d Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/gui/opengl/qopenglpaintdevice.h')
-rw-r--r--src/gui/opengl/qopenglpaintdevice.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h
index d88992d6db..dda3bfe43f 100644
--- a/src/gui/opengl/qopenglpaintdevice.h
+++ b/src/gui/opengl/qopenglpaintdevice.h
@@ -44,7 +44,6 @@
QT_BEGIN_NAMESPACE
-
class QOpenGLPaintDevicePrivate;
class Q_GUI_EXPORT QOpenGLPaintDevice : public QPaintDevice
@@ -54,6 +53,7 @@ public:
QOpenGLPaintDevice();
explicit QOpenGLPaintDevice(const QSize &size);
QOpenGLPaintDevice(int width, int height);
+ QOpenGLPaintDevice(QOpenGLPaintDevicePrivate *dd);
virtual ~QOpenGLPaintDevice();
int devType() const { return QInternal::OpenGL; }
@@ -73,9 +73,7 @@ public:
void setPaintFlipped(bool flipped);
bool paintFlipped() const;
- virtual void beginPaint();
virtual void ensureActiveTarget();
- virtual void endPaint();
protected:
int metric(QPaintDevice::PaintDeviceMetric metric) const;