diff options
author | hjk <qtc-committer@nokia.com> | 2009-08-10 09:26:01 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-08-10 13:17:25 (GMT) |
commit | 4fe7c464be95fbbcb663a21f9519024486123248 (patch) | |
tree | b23117352eae6123e4cb8de90789baa55e7e2b6c /src/gui | |
parent | 2a1dcf7a47d81ad8b492c312dfd5e422ba2e3cd0 (diff) | |
download | Qt-4fe7c464be95fbbcb663a21f9519024486123248.zip Qt-4fe7c464be95fbbcb663a21f9519024486123248.tar.gz Qt-4fe7c464be95fbbcb663a21f9519024486123248.tar.bz2 |
Compile fix with namespaces
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/graphicsview/qgraphicstransform_p.h | 4 | ||||
-rw-r--r-- | src/gui/image/qimagepixmapcleanuphooks.cpp | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicstransform_p.h b/src/gui/graphicsview/qgraphicstransform_p.h index 2d36eda..467021f 100644 --- a/src/gui/graphicsview/qgraphicstransform_p.h +++ b/src/gui/graphicsview/qgraphicstransform_p.h @@ -55,6 +55,8 @@ #include "private/qobject_p.h" +QT_BEGIN_NAMESPACE + class QGraphicsItem; class QGraphicsTransformPrivate : public QObjectPrivate { @@ -70,4 +72,6 @@ public: static void updateItem(QGraphicsItem *item); }; +QT_END_NAMESPACE + #endif // QGRAPHICSTRANSFORM_P_H diff --git a/src/gui/image/qimagepixmapcleanuphooks.cpp b/src/gui/image/qimagepixmapcleanuphooks.cpp index 7d1c5fb..789700a 100644 --- a/src/gui/image/qimagepixmapcleanuphooks.cpp +++ b/src/gui/image/qimagepixmapcleanuphooks.cpp @@ -43,6 +43,8 @@ #include "qpixmapdata_p.h" +QT_BEGIN_NAMESPACE + // Legacy, single instance hooks: ### Qt 5: remove typedef void (*_qt_pixmap_cleanup_hook)(int); typedef void (*_qt_pixmap_cleanup_hook_64)(qint64); @@ -108,3 +110,4 @@ void QImagePixmapCleanupHooks::executeImageHooks(qint64 key) qt_image_cleanup_hook_64(key); } +QT_END_NAMESPACE |