summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.qmake.conf2
-rw-r--r--src/xmlpatterns/api/qxmlschema.cpp11
-rw-r--r--src/xmlpatterns/api/qxmlschema.h1
3 files changed, 13 insertions, 1 deletions
diff --git a/.qmake.conf b/.qmake.conf
index effef04..28e9cfd 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -2,4 +2,4 @@ load(qt_build_config)
CONFIG += qt_example_installs
CONFIG += warning_clean
-MODULE_VERSION = 5.3.2
+MODULE_VERSION = 5.4.0
diff --git a/src/xmlpatterns/api/qxmlschema.cpp b/src/xmlpatterns/api/qxmlschema.cpp
index a05708f..2ce6a57 100644
--- a/src/xmlpatterns/api/qxmlschema.cpp
+++ b/src/xmlpatterns/api/qxmlschema.cpp
@@ -94,6 +94,17 @@ QXmlSchema::QXmlSchema(const QXmlSchema &other)
}
/*!
+ \since 5.4
+ Copies the resources of \a other into this instance, sharing
+ them to the extent possible.
+ */
+QXmlSchema &QXmlSchema::operator =(const QXmlSchema &other)
+{
+ d = other.d;
+ return *this;
+}
+
+/*!
Destroys this QXmlSchema.
*/
QXmlSchema::~QXmlSchema()
diff --git a/src/xmlpatterns/api/qxmlschema.h b/src/xmlpatterns/api/qxmlschema.h
index dedabfb..6f081ed 100644
--- a/src/xmlpatterns/api/qxmlschema.h
+++ b/src/xmlpatterns/api/qxmlschema.h
@@ -64,6 +64,7 @@ class Q_XMLPATTERNS_EXPORT QXmlSchema
public:
QXmlSchema();
QXmlSchema(const QXmlSchema &other);
+ QXmlSchema &operator=(const QXmlSchema &other);
~QXmlSchema();
bool load(const QUrl &source);