Added a reserved data pointer in QPaintDevice.
Change-Id: If547e5525635e7c76db7a02c7c0c300c87373a18 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
This commit is contained in:
parent
4185fc4d85
commit
367ab7e9a9
@ -45,6 +45,7 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
QPaintDevice::QPaintDevice()
|
||||
{
|
||||
reserved = 0;
|
||||
painters = 0;
|
||||
}
|
||||
|
||||
|
@ -52,6 +52,7 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
|
||||
class QPaintEngine;
|
||||
class QPaintDevicePrivate;
|
||||
|
||||
class Q_GUI_EXPORT QPaintDevice // device for QPainter
|
||||
{
|
||||
@ -98,6 +99,8 @@ protected:
|
||||
private:
|
||||
Q_DISABLE_COPY(QPaintDevice)
|
||||
|
||||
QPaintDevicePrivate *reserved;
|
||||
|
||||
friend class QPainter;
|
||||
friend class QPainterPrivate;
|
||||
friend class QFontEngineMac;
|
||||
|
Loading…
Reference in New Issue
Block a user