diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2012-01-18 21:28:31 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-22 22:10:02 +0100 |
commit | 0696071316b3dacb8d1ca15a269e4f4215642b9d (patch) | |
tree | 26f4dbad16ec36a1243a8676d929269ace74b7f1 /src/dbus/qdbusintrospection.cpp | |
parent | 7c247d3e70788fd601cdc4d45649d2c7ca1004f3 (diff) |
Remove dependency of QtDBus onto QtXml
Replace the QDom based code in qdbusxmlparser
with code using QXmlStreamReader.
Task-number: QTBUG-20856
Change-Id: I294e3ebd6faa813c20806be3ae225ac00befb622
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbusintrospection.cpp')
-rw-r--r-- | src/dbus/qdbusintrospection.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/dbus/qdbusintrospection.cpp b/src/dbus/qdbusintrospection.cpp index 23eda78e5a..60e3bb9ac9 100644 --- a/src/dbus/qdbusintrospection.cpp +++ b/src/dbus/qdbusintrospection.cpp @@ -407,23 +407,6 @@ QDBusIntrospection::parseObject(const QString &xml, const QString &service, cons return *retval; } -/*! - Parses the XML document fragment (given by \a xml) containing one object node and returns all - the information about the interfaces and sub-objects, found at the service \a service and path - \a path. - - The Objects map returned will contain the absolute path names in the key. -*/ -QDBusIntrospection::ObjectTree -QDBusIntrospection::parseObjectTree(const QString &xml, const QString &service, const QString &path) -{ - QDBusXmlParser parser(service, path, xml); - QSharedDataPointer<QDBusIntrospection::ObjectTree> retval = parser.objectTree(); - if (!retval) - return QDBusIntrospection::ObjectTree(); - return *retval; -} - QT_END_NAMESPACE #endif // QT_NO_DBUS |