summaryrefslogtreecommitdiffstats
path: root/src/corelib/xml
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-02-02 07:27:05 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-05 16:55:22 +0100
commit334101df92ece6becf1b342ae4b79cb3bf726a69 (patch)
tree0f7c69b7753fe462786e39271c1322b44c0da4a8 /src/corelib/xml
parent1de63171eec5ae634968cbe1e2343b1c6918226d (diff)
Do not use the non-existent state() method reference
Task-number: QTBUG-29094 Change-Id: I715018a82b7f8405dee023cbe5f2481883cad3e2 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/corelib/xml')
-rw-r--r--src/corelib/xml/qxmlstream.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/corelib/xml/qxmlstream.cpp b/src/corelib/xml/qxmlstream.cpp
index 455df4ec73..4be4593e95 100644
--- a/src/corelib/xml/qxmlstream.cpp
+++ b/src/corelib/xml/qxmlstream.cpp
@@ -1958,7 +1958,7 @@ QStringRef QXmlStreamReader::text() const
}
-/*! If the state() is \l DTD, this function returns the DTD's
+/*! If the tokenType() is \l DTD, this function returns the DTD's
notation declarations. Otherwise an empty vector is returned.
The QXmlStreamNotationDeclarations class is defined to be a QVector
@@ -1973,7 +1973,7 @@ QXmlStreamNotationDeclarations QXmlStreamReader::notationDeclarations() const
}
-/*! If the state() is \l DTD, this function returns the DTD's
+/*! If the tokenType() is \l DTD, this function returns the DTD's
unparsed (external) entity declarations. Otherwise an empty vector is returned.
The QXmlStreamEntityDeclarations class is defined to be a QVector
@@ -1990,7 +1990,7 @@ QXmlStreamEntityDeclarations QXmlStreamReader::entityDeclarations() const
/*!
\since 4.4
- If the state() is \l DTD, this function returns the DTD's
+ If the tokenType() is \l DTD, this function returns the DTD's
name. Otherwise an empty string is returned.
*/
@@ -2005,7 +2005,7 @@ QStringRef QXmlStreamReader::dtdName() const
/*!
\since 4.4
- If the state() is \l DTD, this function returns the DTD's
+ If the tokenType() is \l DTD, this function returns the DTD's
public identifier. Otherwise an empty string is returned.
*/
@@ -2020,7 +2020,7 @@ QStringRef QXmlStreamReader::dtdPublicId() const
/*!
\since 4.4
- If the state() is \l DTD, this function returns the DTD's
+ If the tokenType() is \l DTD, this function returns the DTD's
system identifier. Otherwise an empty string is returned.
*/
@@ -2032,7 +2032,7 @@ QStringRef QXmlStreamReader::dtdSystemId() const
return QStringRef();
}
-/*! If the state() is \l StartElement, this function returns the
+/*! If the tokenType() is \l StartElement, this function returns the
element's namespace declarations. Otherwise an empty vector is
returned.
@@ -2845,7 +2845,7 @@ bool QXmlStreamReader::isStandaloneDocument() const
/*!
\since 4.4
- If the state() is \l StartDocument, this function returns the
+ If the tokenType() is \l StartDocument, this function returns the
version string as specified in the XML declaration.
Otherwise an empty string is returned.
*/
@@ -2860,7 +2860,7 @@ QStringRef QXmlStreamReader::documentVersion() const
/*!
\since 4.4
- If the state() is \l StartDocument, this function returns the
+ If the tokenType() is \l StartDocument, this function returns the
encoding string as specified in the XML declaration.
Otherwise an empty string is returned.
*/