summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/schema
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2012-05-15 15:52:26 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-16 00:29:38 +0200
commitbd307f397d2bc53f656e999da68c95917d714841 (patch)
treef5a5754228542a3d444447baccc7937900e49b53 /src/xmlpatterns/schema
parent1fe2de8ffff20c5ed037da73650fff546bd722e0 (diff)
downloadqtxmlpatterns-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.h4
-rw-r--r--src/xmlpatterns/schema/qxsduserschematype_p.h6
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
{
/**