summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsanchorlayout.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-08-21 08:18:37 (GMT)
committerhjk <qtc-committer@nokia.com>2009-08-21 08:18:37 (GMT)
commit119a67e338c8e6c3616781cee1027031b667676e (patch)
tree99700bd2063e1ad766917f3f332bcbd486a36cd1 /src/gui/graphicsview/qgraphicsanchorlayout.cpp
parentc7e2ad82ea4cd999e568e2819dea10bf7214eee3 (diff)
downloadQt-119a67e338c8e6c3616781cee1027031b667676e.zip
Qt-119a67e338c8e6c3616781cee1027031b667676e.tar.gz
Qt-119a67e338c8e6c3616781cee1027031b667676e.tar.bz2
make the new anchor layout code compile with namespaces
Diffstat (limited to 'src/gui/graphicsview/qgraphicsanchorlayout.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsanchorlayout.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout.cpp b/src/gui/graphicsview/qgraphicsanchorlayout.cpp
index 5032dc6..fed0e5a 100644
--- a/src/gui/graphicsview/qgraphicsanchorlayout.cpp
+++ b/src/gui/graphicsview/qgraphicsanchorlayout.cpp
@@ -81,6 +81,8 @@
#include "qgraphicsanchorlayout_p.h"
+QT_BEGIN_NAMESPACE
+
QGraphicsAnchorLayout::QGraphicsAnchorLayout(QGraphicsLayoutItem *parent)
: QGraphicsLayout(*new QGraphicsAnchorLayoutPrivate(), parent)
{
@@ -447,3 +449,5 @@ QSizeF QGraphicsAnchorLayout::sizeHint(Qt::SizeHint which, const QSizeF &constra
return engineSizeHint + QSizeF(left + right, top + bottom);
}
+
+QT_END_NAMESPACE