summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/schema/qxsduserschematype_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/schema/qxsduserschematype_p.h')
-rw-r--r--src/xmlpatterns/schema/qxsduserschematype_p.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/xmlpatterns/schema/qxsduserschematype_p.h b/src/xmlpatterns/schema/qxsduserschematype_p.h
index cf1841c..f98b2ae 100644
--- a/src/xmlpatterns/schema/qxsduserschematype_p.h
+++ b/src/xmlpatterns/schema/qxsduserschematype_p.h
@@ -53,12 +53,10 @@
#include <private/qnamedschemacomponent_p.h>
#include <private/qschematype_p.h>
#include <private/qxsdannotated_p.h>
+#include <qcontainerfwd.h>
QT_BEGIN_NAMESPACE
-template<typename N, typename M> class QHash;
-template<typename N> class QList;
-
namespace QPatternist
{
/**
@@ -86,14 +84,14 @@ namespace QPatternist
*
* @param namePool The pool the name belongs to.
*/
- virtual QXmlName name(const NamePool::Ptr &namePool) const;
+ QXmlName name(const NamePool::Ptr &namePool) const override;
/**
* Returns the display name of the type.
*
* @param namePool The pool the name belongs to.
*/
- virtual QString displayName(const NamePool::Ptr &namePool) const;
+ QString displayName(const NamePool::Ptr &namePool) const override;
/**
* Sets the derivation @p constraints of the type.
@@ -103,7 +101,7 @@ namespace QPatternist
/**
* Returns the derivation constraints of the type.
*/
- SchemaType::DerivationConstraints derivationConstraints() const;
+ SchemaType::DerivationConstraints derivationConstraints() const override;
private:
QXmlName m_name;