summaryrefslogtreecommitdiffstats
path: root/src/svg
diff options
context:
space:
mode:
authorHarald Fernengel <harald@trolltech.com>2009-08-03 13:12:46 (GMT)
committerHarald Fernengel <harald@trolltech.com>2009-08-03 13:12:46 (GMT)
commit41a83e1ff19ad1396e6001e6b0ac003c701ba55a (patch)
tree609e40eda10418bbf925002c36552074796b96b6 /src/svg
parentd1f3b9df2bc5c57d414da73a7d4f9ed7b25df3db (diff)
downloadQt-41a83e1ff19ad1396e6001e6b0ac003c701ba55a.zip
Qt-41a83e1ff19ad1396e6001e6b0ac003c701ba55a.tar.gz
Qt-41a83e1ff19ad1396e6001e6b0ac003c701ba55a.tar.bz2
Squashed commit of the topic/exceptions branch.
Contains some smaller fixes and renaming of macros. Looks big, but isn't scary at all ;)
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/qgraphicssvgitem.h2
-rw-r--r--src/svg/qsvggenerator.cpp2
-rw-r--r--src/svg/qsvggenerator.h2
-rw-r--r--src/svg/qsvgrenderer.h2
-rw-r--r--src/svg/qsvgwidget.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/svg/qgraphicssvgitem.h b/src/svg/qgraphicssvgitem.h
index e7ef4b3..9a41e9b 100644
--- a/src/svg/qgraphicssvgitem.h
+++ b/src/svg/qgraphicssvgitem.h
@@ -87,7 +87,7 @@ public:
private:
Q_DISABLE_COPY(QGraphicsSvgItem)
- // Q_DECLARE_PRIVATE_WITH_BASE(QGraphicsSvgItem, QObject)
+ // Q_DECLARE_SCOPED_PRIVATE_WITH_BASE(QGraphicsSvgItem, QObject)
inline QGraphicsSvgItemPrivate *d_func()
{ return reinterpret_cast<QGraphicsSvgItemPrivate *>(QObject::d_ptr.data()); }
inline const QGraphicsSvgItemPrivate *d_func() const
diff --git a/src/svg/qsvggenerator.cpp b/src/svg/qsvggenerator.cpp
index 9486479..b5c56cd 100644
--- a/src/svg/qsvggenerator.cpp
+++ b/src/svg/qsvggenerator.cpp
@@ -155,7 +155,7 @@ static inline QPaintEngine::PaintEngineFeatures svgEngineFeatures()
class QSvgPaintEngine : public QPaintEngine
{
- Q_DECLARE_PRIVATE(QSvgPaintEngine)
+ Q_DECLARE_SCOPED_PRIVATE(QSvgPaintEngine)
public:
QSvgPaintEngine()
diff --git a/src/svg/qsvggenerator.h b/src/svg/qsvggenerator.h
index 5b60a05..951cee1 100644
--- a/src/svg/qsvggenerator.h
+++ b/src/svg/qsvggenerator.h
@@ -61,7 +61,7 @@ class QSvgGeneratorPrivate;
class Q_SVG_EXPORT QSvgGenerator : public QPaintDevice
{
- Q_DECLARE_PRIVATE(QSvgGenerator)
+ Q_DECLARE_SCOPED_PRIVATE(QSvgGenerator)
Q_PROPERTY(QSize size READ size WRITE setSize)
Q_PROPERTY(QRectF viewBox READ viewBoxF WRITE setViewBox)
diff --git a/src/svg/qsvgrenderer.h b/src/svg/qsvgrenderer.h
index 78e8a7e..2b9a4f7 100644
--- a/src/svg/qsvgrenderer.h
+++ b/src/svg/qsvgrenderer.h
@@ -109,7 +109,7 @@ Q_SIGNALS:
void repaintNeeded();
private:
- Q_DECLARE_PRIVATE(QSvgRenderer)
+ Q_DECLARE_SCOPED_PRIVATE(QSvgRenderer)
};
QT_END_NAMESPACE
diff --git a/src/svg/qsvgwidget.h b/src/svg/qsvgwidget.h
index ccf66bb..1a2cdd1 100644
--- a/src/svg/qsvgwidget.h
+++ b/src/svg/qsvgwidget.h
@@ -74,7 +74,7 @@ protected:
void paintEvent(QPaintEvent *event);
private:
Q_DISABLE_COPY(QSvgWidget)
- Q_DECLARE_PRIVATE(QSvgWidget)
+ Q_DECLARE_SCOPED_PRIVATE(QSvgWidget)
};
QT_END_NAMESPACE