diff options
-rw-r--r-- | src/xmlpatterns/api/qxmlschema.cpp | 11 | ||||
-rw-r--r-- | src/xmlpatterns/api/qxmlschema.h | 1 |
2 files changed, 12 insertions, 0 deletions
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); |