summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/type/qprimitives_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/type/qprimitives_p.h')
-rw-r--r--src/xmlpatterns/type/qprimitives_p.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/xmlpatterns/type/qprimitives_p.h b/src/xmlpatterns/type/qprimitives_p.h
index 78bd4ae13..b77698a84 100644
--- a/src/xmlpatterns/type/qprimitives_p.h
+++ b/src/xmlpatterns/type/qprimitives_p.h
@@ -74,17 +74,6 @@ QT_BEGIN_NAMESPACE
class QString;
/**
- * @internal
- *
- * A method to allow a QHash or QSet with QUrl
- * as key type.
- */
-inline uint qHash(const QUrl &uri)
-{
- return qHash(uri.toString());
-}
-
-/**
* @short The namespace for the internal API of QtXmlPatterns
* @internal
*/
@@ -92,6 +81,17 @@ namespace QPatternist
{
/**
+ * @internal
+ *
+ * A method to allow a QHash or QSet with QUrl
+ * as key type.
+ */
+ inline uint qHash(const QUrl &uri)
+ {
+ return qHash(uri.toString());
+ }
+
+ /**
* @defgroup Patternist_cppWXSTypes C++ Primitives for W3C XML Schema Number Types
*
* The implementations of W3C XML Schema's(WXS) number types, more specifically
@@ -208,6 +208,8 @@ namespace QPatternist
QString Q_AUTOTEST_EXPORT escape(const QString &input);
}
+using QPatternist::qHash;
+
QT_END_NAMESPACE
QT_END_HEADER