143 for (
int i = 0; i < interfaceList.
count(); ++i)
150 qDBusParserError(
"Invalid D-BUS interface name '%s' found while parsing introspection",
156 ifaceData->
name = ifaceName;
168 for (
int j = 0; j < list.
count(); ++j)
175 qDBusParserError(
"Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection",
194 for (
int j = 0; j < list.
count(); ++j)
201 qDBusParserError(
"Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection",
219 for (
int j = 0; j < list.
count(); ++j)
226 qDBusParserError(
"Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection",
234 propertyData.
name = propertyName;
240 qDBusParserError(
"Invalid D-BUS type signature '%s' found in property '%s.%s' while parsing introspection",
253 qDBusParserError(
"Invalid D-BUS property access '%s' found in property '%s.%s' while parsing introspection",
static QDBusIntrospection::Annotations parseAnnotations(const QDomElement &elem)
QString name
The method's name.
static QDBusIntrospection::Arguments parseArgs(const QDomElement &elem, const QLatin1String &direction, bool acceptEmpty)
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.
QMap< Key, T >::iterator insert(const Key &key, const T &value)
Inserts a new item with the key key and a value of value.
Signals signals_
The signals available in this interface.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
Properties properties
The properties available in this interface.
bool isValidInterfaceName(const QString &ifaceName)
Returns true if this is ifaceName is a valid interface name.
Arguments outputArgs
A list of the method's output arguments (i.
QDomNodeList elementsByTagName(const QString &tagname) const
Returns a QDomNodeList containing all descendants of this element named tagname encountered during a ...
QString name
The interface's name.
QDomElement toElement() const
Converts a QDomNode into a QDomElement.
Arguments inputArgs
A list of the method's input arguments.
int access(const char *, int)
Annotations annotations
The annotations associated with the signal.
bool isValidMemberName(const QString &memberName)
Returns true if memberName is a valid member name.
bool isValidSingleSignature(const QString &signature)
Returns true if signature is a valid D-Bus type signature for exactly one full type.
Information about one signal.
Annotations annotations
The annotations associated with the interface.
QString introspection
The XML document fragment describing this interface.
QString attribute(const QString &name, const QString &defValue=QString()) const
Returns the attribute called name.
The QTextStream class provides a convenient interface for reading and writing text.
QString type
The property's type.
Methods methods
The methods available in this interface.
iterator insert(const Key &key, const T &value)
Inserts a new item with the key key and a value of value.
int count() const
This function is provided for Qt API consistency.
Information about one interface on the bus.
static QByteArray methodName(const char *signature, int nameLength)
Makes a deep copy of the first nameLength characters of the given method signature and returns the co...
bool isNull() const
Returns true if this node is null (i.e.
The QDomNodeList class is a list of QDomNode objects.
QDomNode item(int index) const
Returns the node at position index.
QString name
The signal's name.
Access access
The property's access rights.
Annotations annotations
The annotations associated with the property.
#define qPrintable(string)
Information about one method.
The QDomElement class represents one element in the DOM tree.
void save(QTextStream &, int) const
Writes the XML representation of the node and all its children to the stream str. ...
The QSharedDataPointer class represents a pointer to an implicitly shared object. ...