summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/api/qxmlschema.cpp
diff options
context:
space:
mode:
authorTobias Koenig <tokoe@kde.org>2009-05-19 20:09:09 +0200
committerTobias Koenig <tokoe@kde.org>2009-05-19 20:09:09 +0200
commitf66a475a236649c94a47f668ba3461bdc325c308 (patch)
tree4734c2dccfc8e0adfe9474d8a0acc4e634970d5b /src/xmlpatterns/api/qxmlschema.cpp
parent9519f3ee67c8ab2de8d1ab5e584f8d3adb8875bd (diff)
First version of documentation for schema example
Diffstat (limited to 'src/xmlpatterns/api/qxmlschema.cpp')
-rw-r--r--src/xmlpatterns/api/qxmlschema.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/xmlpatterns/api/qxmlschema.cpp b/src/xmlpatterns/api/qxmlschema.cpp
index aa5b77c9ea..8e14f3fe84 100644
--- a/src/xmlpatterns/api/qxmlschema.cpp
+++ b/src/xmlpatterns/api/qxmlschema.cpp
@@ -88,6 +88,9 @@ QXmlSchema::~QXmlSchema()
/*!
Sets this QXmlSchema to a schema loaded from the \a source
URI.
+
+ If the schema \l {isValid()} {is invalid}, \c{false} is returned
+ and the behavior is undefined.
*/
bool QXmlSchema::load(const QUrl &source)
{
@@ -107,6 +110,10 @@ bool QXmlSchema::load(const QUrl &source)
If \a source is \c null or not readable, or if \a documentUri is not
a valid URI, behavior is undefined.
+
+ If the schema \l {isValid()} {is invalid}, \c{false} is returned
+ and the behavior is undefined.
+
\sa isValid()
*/
bool QXmlSchema::load(QIODevice *source, const QUrl &documentUri)
@@ -125,6 +132,9 @@ bool QXmlSchema::load(QIODevice *source, const QUrl &documentUri)
If \a documentUri is not a valid URI, behavior is undefined.
\sa isValid()
+
+ If the schema \l {isValid()} {is invalid}, \c{false} is returned
+ and the behavior is undefined.
*/
bool QXmlSchema::load(const QByteArray &data, const QUrl &documentUri)
{