summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusxmlparser_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbusxmlparser_p.h')
-rw-r--r--src/dbus/qdbusxmlparser_p.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/dbus/qdbusxmlparser_p.h b/src/dbus/qdbusxmlparser_p.h
index f7677e0ae4..bd063e759b 100644
--- a/src/dbus/qdbusxmlparser_p.h
+++ b/src/dbus/qdbusxmlparser_p.h
@@ -54,7 +54,6 @@
//
#include <QtCore/qmap.h>
-#include <QtXml/qdom.h>
#include <qdbusmacros.h>
#include "qdbusintrospection_p.h"
@@ -69,17 +68,15 @@ class QDBusXmlParser
{
QString m_service;
QString m_path;
- QDomElement m_node;
+ QSharedDataPointer<QDBusIntrospection::Object> m_object;
+ QDBusIntrospection::Interfaces m_interfaces;
public:
QDBusXmlParser(const QString& service, const QString& path,
const QString& xmlData);
- QDBusXmlParser(const QString& service, const QString& path,
- const QDomElement& node);
- QDBusIntrospection::Interfaces interfaces() const;
- QSharedDataPointer<QDBusIntrospection::Object> object() const;
- QSharedDataPointer<QDBusIntrospection::ObjectTree> objectTree() const;
+ inline QDBusIntrospection::Interfaces interfaces() const { return m_interfaces; }
+ inline QSharedDataPointer<QDBusIntrospection::Object> object() const { return m_object; }
};
QT_END_NAMESPACE