summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpicture_p.h
diff options
context:
space:
mode:
authorHarald Fernengel <harald@trolltech.com>2009-08-20 13:37:55 (GMT)
committerHarald Fernengel <harald@trolltech.com>2009-08-20 15:12:07 (GMT)
commitfe00645222c4a96a966c8f6938286cf136a6377a (patch)
treed640d30d2f1a854312f285f2dda631edb6cb3afa /src/gui/image/qpicture_p.h
parentc2bde443f2510798de9d815af13d5947317fc7d1 (diff)
downloadQt-fe00645222c4a96a966c8f6938286cf136a6377a.zip
Qt-fe00645222c4a96a966c8f6938286cf136a6377a.tar.gz
Qt-fe00645222c4a96a966c8f6938286cf136a6377a.tar.bz2
Use QExplicitlySharedDataPointer wherever possible
Remove QScopedSharedPointer, this class will go soon.
Diffstat (limited to 'src/gui/image/qpicture_p.h')
-rw-r--r--src/gui/image/qpicture_p.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/image/qpicture_p.h b/src/gui/image/qpicture_p.h
index f405d7f..0ab181c 100644
--- a/src/gui/image/qpicture_p.h
+++ b/src/gui/image/qpicture_p.h
@@ -71,7 +71,6 @@ extern const char *qt_mfhdr_tag;
class QPicturePrivate
{
- Q_DECLARE_PUBLIC(QPicture)
friend class QPicturePaintEngine;
friend Q_GUI_EXPORT QDataStream &operator<<(QDataStream &s, const QPicture &r);
friend Q_GUI_EXPORT QDataStream &operator>>(QDataStream &s, QPicture &r);
@@ -144,6 +143,7 @@ public:
};
QPicturePrivate();
+ QPicturePrivate(const QPicturePrivate &other);
QAtomicInt ref;
bool checkFormat();
@@ -162,8 +162,6 @@ public:
QList<QPixmap> pixmap_list;
QList<QBrush> brush_list;
QList<QPen> pen_list;
-
- QPicture *q_ptr;
};
QT_END_NAMESPACE