summaryrefslogtreecommitdiff
path: root/src/xml/dom/qdom.h
diff options
context:
space:
mode:
authorRichard Moore <rich@kde.org>2012-02-19 13:41:31 +0000
committerQt by Nokia <qt-info@nokia.com>2012-02-20 22:06:24 +0100
commit4c05bc811c06afb718ddbf9db1a3a6cf4086cbc5 (patch)
tree907777fddfc60ba5849e4cb6a42b94a7df4de67b /src/xml/dom/qdom.h
parent451bc474075aa435e4d97496e32986b76b0f9baa (diff)
downloadqtbase-4c05bc811c06afb718ddbf9db1a3a6cf4086cbc5.tar.gz
Merge overloads.
Fix a ### Qt 5 by merging the overloads. Change-Id: If33e7592191c81b32caa6d68c73dbf2282437886 Reviewed-by: David Faure <faure@kde.org>
Diffstat (limited to 'src/xml/dom/qdom.h')
-rw-r--r--src/xml/dom/qdom.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xml/dom/qdom.h b/src/xml/dom/qdom.h
index 8b049b211b..5dafb9e6a3 100644
--- a/src/xml/dom/qdom.h
+++ b/src/xml/dom/qdom.h
@@ -227,8 +227,7 @@ public:
QDomCharacterData toCharacterData() const;
QDomComment toComment() const;
- void save(QTextStream&, int) const;
- void save(QTextStream&, int, EncodingPolicy) const; // ### Qt 5: Merge overload(if we at all keep this)
+ void save(QTextStream&, int, EncodingPolicy=QDomNode::EncodingFromDocument) const;
QDomElement firstChildElement(const QString &tagName = QString()) const;
QDomElement lastChildElement(const QString &tagName = QString()) const;