diff options
author | gunnar <gunnar@trolltech.com> | 2009-11-04 20:06:29 (GMT) |
---|---|---|
committer | gunnar <gunnar@trolltech.com> | 2009-11-04 20:13:01 (GMT) |
commit | 23572588c4b0c759c14a6c1687e5bd86461e31e8 (patch) | |
tree | 35073be4e08bd27d5403efadc75dc386f99d126f /src/gui/painting/qpaintbuffer_p.h | |
parent | 1a71e4b7960ba27fe6d47815da9337020085ac16 (diff) | |
download | Qt-23572588c4b0c759c14a6c1687e5bd86461e31e8.zip Qt-23572588c4b0c759c14a6c1687e5bd86461e31e8.tar.gz Qt-23572588c4b0c759c14a6c1687e5bd86461e31e8.tar.bz2 |
Fixed some debug and some minor optims to QPaintBuffer
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/painting/qpaintbuffer_p.h')
-rw-r--r-- | src/gui/painting/qpaintbuffer_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/painting/qpaintbuffer_p.h b/src/gui/painting/qpaintbuffer_p.h index 6a7ac73..adf0564 100644 --- a/src/gui/painting/qpaintbuffer_p.h +++ b/src/gui/painting/qpaintbuffer_p.h @@ -66,6 +66,7 @@ class QPaintBufferPlayback; class Q_GUI_EXPORT QPaintBuffer : public QPaintDevice { + Q_DECLARE_PRIVATE(QPaintBuffer); public: QPaintBuffer(); QPaintBuffer(const QPaintBuffer &other); @@ -311,7 +312,7 @@ public: virtual ~QPainterReplayer() { } void setupTransform(QPainter *painter); - void process(const QPaintBufferCommand &cmd); + virtual void process(const QPaintBufferCommand &cmd); void draw(const QPaintBuffer &buffer, QPainter *painter, int frame); protected: @@ -326,7 +327,7 @@ class Q_GUI_EXPORT QPaintEngineExReplayer : public QPainterReplayer public: QPaintEngineExReplayer() { } - void process(const QPaintBufferCommand &cmd); + virtual void process(const QPaintBufferCommand &cmd); }; class QPaintBufferEnginePrivate; |