diff options
| author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2012-04-12 22:21:56 +0200 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-14 03:53:46 +0200 |
| commit | 06a5904c8f1a9dd32b78afb9d95615f57a6d31aa (patch) | |
| tree | 3a1129b81eb87e1a0ba20f6ea4cc3ca28e7bc221 /src/corelib/xml/qxmlstream.cpp | |
| parent | 8427ff09ab7ce15b7b9ecc60514aec8dd2b6a24f (diff) | |
Removed QXmlStreamReader::readElementText overload
The version without argument was kept for binary compatibility when
the configurable ReadElementTextBehaviour was introduced. It is now
dropped in favour of using a default argument value.
Change-Id: Ic08c41d5a5aad9f22df7fc37a2d53ffbc6df1fe9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/xml/qxmlstream.cpp')
| -rw-r--r-- | src/corelib/xml/qxmlstream.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/corelib/xml/qxmlstream.cpp b/src/corelib/xml/qxmlstream.cpp index 6222a76f08b..df2c2f998f0 100644 --- a/src/corelib/xml/qxmlstream.cpp +++ b/src/corelib/xml/qxmlstream.cpp @@ -2092,7 +2092,7 @@ void QXmlStreamReader::addExtraNamespaceDeclarations(const QXmlStreamNamespaceDe The \a behaviour defines what happens in case anything else is read before reaching EndElement. The function can include the text from child elements (useful for example for HTML), ignore child elements, or - raise an UnexpectedElementError and return what was read so far. + raise an UnexpectedElementError and return what was read so far (default). \since 4.6 */ @@ -2133,16 +2133,6 @@ QString QXmlStreamReader::readElementText(ReadElementTextBehaviour behaviour) return QString(); } -/*! - \overload readElementText() - - Calling this function is equivalent to calling readElementText(ErrorOnUnexpectedElement). - */ -QString QXmlStreamReader::readElementText() -{ - return readElementText(ErrorOnUnexpectedElement); -} - /*! Raises a custom error with an optional error \a message. \sa error(), errorString() |
