summaryrefslogtreecommitdiffstats
path: root/src/corelib/xml/qxmlstream.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2012-04-12 22:21:56 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-14 03:53:46 +0200
commit06a5904c8f1a9dd32b78afb9d95615f57a6d31aa (patch)
tree3a1129b81eb87e1a0ba20f6ea4cc3ca28e7bc221 /src/corelib/xml/qxmlstream.h
parent8427ff09ab7ce15b7b9ecc60514aec8dd2b6a24f (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.h')
-rw-r--r--src/corelib/xml/qxmlstream.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/xml/qxmlstream.h b/src/corelib/xml/qxmlstream.h
index 90382c7fe5..ae6dd23551 100644
--- a/src/corelib/xml/qxmlstream.h
+++ b/src/corelib/xml/qxmlstream.h
@@ -301,8 +301,7 @@ public:
IncludeChildElements,
SkipChildElements
};
- QString readElementText(ReadElementTextBehaviour behaviour);
- QString readElementText();
+ QString readElementText(ReadElementTextBehaviour behaviour = ErrorOnUnexpectedElement);
QStringRef name() const;
QStringRef namespaceUri() const;