42 #ifndef QDBUSINTROSPECTION_H 43 #define QDBUSINTROSPECTION_H 56 #include <QtCore/qstring.h> 57 #include <QtCore/qlist.h> 58 #include <QtCore/qstringlist.h> 59 #include <QtCore/qmap.h> 60 #include <QtCore/qpair.h> 61 #include <QtCore/qshareddata.h> 96 {
return name == other.
name && type == other.
type; }
131 {
return access == other.
access && name == other.
name &&
167 static Interfaces parseInterfaces(
const QString &xml);
QString path
The object's path on the service.
bool operator==(const Property &other) const
Compares this object against other and return true if they are the same.
QStringList childObjects
The list of child object names in this object.
QStringList interfaces
The list of interface names in this object.
Information about one object on the bus.
QMap< QString, QSharedDataPointer< Interface > > Interfaces
Contains a QMap of interfaces and their names.
Objects childObjectData
A map of object paths and their data.
#define QT_END_NAMESPACE
This macro expands to.
Information about introspected objects and interfaces on D-Bus.
QString name
The method's name.
QString name
The property's name.
Arguments outputArgs
A list of the signal's arguments.
Information about one property.
Annotations annotations
The annotations associated with the method.
One argument to a D-Bus method or signal.
Signals signals_
The signals available in this interface.
Interfaces interfaceData
A map of interfaces and their names.
The QString class provides a Unicode character string.
Properties properties
The properties available in this interface.
bool operator==(const Signal &other) const
Compares this object against other and return true if they are the same.
QMap< QString, QString > Annotations
Contains a QMap of an annotation pair.
QList< Argument > Arguments
Contains a list of arguments to either a Method or a Signal.
Arguments outputArgs
A list of the method's output arguments (i.
bool operator==(const Argument &other) const
Compares this object against other and return true if they are the same.
QString name
The interface's name.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QMultiMap< QString, Signal > Signals
Contains a QMap of signals and their names.
Arguments inputArgs
A list of the method's input arguments.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
QMultiMap< QString, Method > Methods
Contains a QMap of methods and their names.
The QStringList class provides a list of strings.
Annotations annotations
The annotations associated with the signal.
Complete information about one object node and its descendency.
QString type
The argument type.
QMap< QString, QSharedDataPointer< ObjectTree > > Objects
Contains a QMap of objects and their paths relative to their immediate parent.
Information about one signal.
QString service
The object's service name.
Annotations annotations
The annotations associated with the interface.
QString introspection
The XML document fragment describing this interface.
QString name
The argument name.
The QSharedData class is a base class for shared data objects.
QString type
The property's type.
Methods methods
The methods available in this interface.
Information about one interface on the bus.
Access
The possible access rights for a property:
bool operator==(const Interface &other) const
Compares this object against other and return true if they are the same.
QString name
The signal's name.
QMap< QString, Property > Properties
Contains a QMap of properties and their names.
Access access
The property's access rights.
Annotations annotations
The annotations associated with the property.
Information about one method.
QString introspection
The XML document fragment describing this object, its interfaces and sub-objects at the time of the p...
bool operator==(const Method &other) const
Compares this object against other and return true if they are the same.