summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/api
diff options
context:
space:
mode:
authorTobias Koenig <tokoe@kde.org>2009-05-19 18:09:09 (GMT)
committerTobias Koenig <tokoe@kde.org>2009-05-19 18:09:09 (GMT)
commitf66a475a236649c94a47f668ba3461bdc325c308 (patch)
tree4734c2dccfc8e0adfe9474d8a0acc4e634970d5b /src/xmlpatterns/api
parent9519f3ee67c8ab2de8d1ab5e584f8d3adb8875bd (diff)
downloadQt-f66a475a236649c94a47f668ba3461bdc325c308.zip
Qt-f66a475a236649c94a47f668ba3461bdc325c308.tar.gz
Qt-f66a475a236649c94a47f668ba3461bdc325c308.tar.bz2
First version of documentation for schema example
Diffstat (limited to 'src/xmlpatterns/api')
-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 aa5b77c..8e14f3f 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)
{