Qt 4.8
Public Variables | List of all members
QDBusIntrospection::Object Class Reference

Information about one object on the bus. More...

#include <qdbusintrospection_p.h>

Inheritance diagram for QDBusIntrospection::Object:
QSharedData QDBusIntrospection::ObjectTree

Public Variables

QStringList childObjects
 The list of child object names in this object. More...
 
QStringList interfaces
 The list of interface names in this object. More...
 
QString introspection
 The XML document fragment describing this object, its interfaces and sub-objects at the time of the parsing. More...
 
QString path
 The object's path on the service. More...
 
QString service
 The object's service name. More...
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 

Additional Inherited Members

- Public Functions inherited from QSharedData
 QSharedData ()
 Constructs a QSharedData object with a reference count of 0. More...
 
 QSharedData (const QSharedData &)
 Constructs a QSharedData object with reference count 0. More...
 

Detailed Description

Information about one object on the bus.

An object on the D-Bus bus is represented by its service and path on the service but, unlike interfaces, objects are mutable. That is, their contents can change with time. Therefore, while the (service, path) pair uniquely identifies an object, the information contained in this struct may no longer represent the object.

An object can contain interfaces and child (sub) objects.

Definition at line 149 of file qdbusintrospection_p.h.

Properties

◆ childObjects

QDBusIntrospection::Object::childObjects

The list of child object names in this object.

Note that this is a relative name, not an absolute path. To obtain the absolute path, concatenate with QDBusIntrospection::Object::path .

Definition at line 156 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::object(), and QDBusXmlParser::objectTree().

◆ interfaces

QDBusIntrospection::Object::interfaces

The list of interface names in this object.

Definition at line 155 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::object(), and QDBusXmlParser::objectTree().

◆ introspection

QDBusIntrospection::Object::introspection

The XML document fragment describing this object, its interfaces and sub-objects at the time of the parsing.

The result of parseObject with this XML data should be the same as the Object struct.

Definition at line 153 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::object(), and QDBusXmlParser::objectTree().

◆ path

QDBusIntrospection::Object::path

The object's path on the service.

This is an absolute path.

See also
parseObject(), parseObjectTree()

Definition at line 152 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::object(), and QDBusXmlParser::objectTree().

◆ service

QDBusIntrospection::Object::service

The object's service name.

See also
parseObject(), parseObjectTree()

Definition at line 151 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::object(), and QDBusXmlParser::objectTree().


The documentation for this class was generated from the following files: