diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-05-15 15:52:26 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-16 00:29:38 +0200 |
commit | bd307f397d2bc53f656e999da68c95917d714841 (patch) | |
tree | f5a5754228542a3d444447baccc7937900e49b53 /src/xmlpatterns/schema | |
parent | 1fe2de8ffff20c5ed037da73650fff546bd722e0 (diff) | |
download | qtxmlpatterns-bd307f397d2bc53f656e999da68c95917d714841.tar.gz |
Fixed -qtnamespace compilation issues.
Forward declaration of classes should come after QT_BEGIN_NAMESPACE, if
the declared classes are expected to be inside the qtnamespace.
Change-Id: Ifa7f2cbcd5ea9f5a0b2ade267c76d9e5e04d105a
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Diffstat (limited to 'src/xmlpatterns/schema')
-rw-r--r-- | src/xmlpatterns/schema/qxsdstatemachine_p.h | 4 | ||||
-rw-r--r-- | src/xmlpatterns/schema/qxsduserschematype_p.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/xmlpatterns/schema/qxsdstatemachine_p.h b/src/xmlpatterns/schema/qxsdstatemachine_p.h index bb40578..805d345 100644 --- a/src/xmlpatterns/schema/qxsdstatemachine_p.h +++ b/src/xmlpatterns/schema/qxsdstatemachine_p.h @@ -58,12 +58,12 @@ #include <QtCore/QSet> #include <QtCore/QTextStream> -class QIODevice; - QT_BEGIN_HEADER QT_BEGIN_NAMESPACE +class QIODevice; + namespace QPatternist { /** diff --git a/src/xmlpatterns/schema/qxsduserschematype_p.h b/src/xmlpatterns/schema/qxsduserschematype_p.h index 6a13f58..8c70441 100644 --- a/src/xmlpatterns/schema/qxsduserschematype_p.h +++ b/src/xmlpatterns/schema/qxsduserschematype_p.h @@ -56,13 +56,13 @@ #include <private/qschematype_p.h> #include <private/qxsdannotated_p.h> -template<typename N, typename M> class QHash; -template<typename N> class QList; - QT_BEGIN_HEADER QT_BEGIN_NAMESPACE +template<typename N, typename M> class QHash; +template<typename N> class QList; + namespace QPatternist { /** |