From 0696071316b3dacb8d1ca15a269e4f4215642b9d Mon Sep 17 00:00:00 2001 From: Harald Fernengel Date: Wed, 18 Jan 2012 21:28:31 +0100 Subject: 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 --- src/dbus/qdbusintrospection.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/dbus/qdbusintrospection.cpp') 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 retval = parser.objectTree(); - if (!retval) - return QDBusIntrospection::ObjectTree(); - return *retval; -} - QT_END_NAMESPACE #endif // QT_NO_DBUS -- cgit v1.2.3