diff options
author | hjk <qtc-committer@nokia.com> | 2009-08-21 08:18:37 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-08-21 08:18:37 (GMT) |
commit | 119a67e338c8e6c3616781cee1027031b667676e (patch) | |
tree | 99700bd2063e1ad766917f3f332bcbd486a36cd1 /src/gui/graphicsview/qgraph_p.h | |
parent | c7e2ad82ea4cd999e568e2819dea10bf7214eee3 (diff) | |
download | Qt-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/qgraph_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraph_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraph_p.h b/src/gui/graphicsview/qgraph_p.h index c228902..7130003 100644 --- a/src/gui/graphicsview/qgraph_p.h +++ b/src/gui/graphicsview/qgraph_p.h @@ -5,6 +5,8 @@ #include <float.h> +QT_BEGIN_NAMESPACE + template <typename Vertex, typename EdgeData> class Graph { @@ -234,3 +236,5 @@ private: QHash<Vertex *, QHash<Vertex *, EdgeData *> *> m_graph; }; + +QT_END_NAMESPACE |