![]() |
Qt 4.8
|
Information about one property. More...
#include <qdbusintrospection_p.h>
Public Types | |
| enum | Access { Read, Write, ReadWrite } |
| The possible access rights for a property: More... | |
Public Functions | |
| bool | operator== (const Property &other) const |
| Compares this object against other and return true if they are the same. More... | |
Public Variables | |
| Access | access |
| The property's access rights. More... | |
| Annotations | annotations |
| The annotations associated with the property. More... | |
| QString | name |
| The property's name. More... | |
| QString | type |
| The property's type. More... | |
Information about one property.
This struct represents one property discovered through introspection. A property is composed of its name, its type, its access rights, and, optionally, annotations.
Definition at line 122 of file qdbusintrospection_p.h.
The possible access rights for a property:
| Enumerator | |
|---|---|
| Read | |
| Write | |
| ReadWrite | |
Definition at line 124 of file qdbusintrospection_p.h.
|
inline |
Compares this object against other and return true if they are the same.
Definition at line 130 of file qdbusintrospection_p.h.
| QDBusIntrospection::Property::access |
The property's access rights.
Definition at line 127 of file qdbusintrospection_p.h.
Referenced by QDBusXmlParser::interfaces(), operator==(), and QDBusMetaObjectGenerator::parseProperties().
| QDBusIntrospection::Property::annotations |
The annotations associated with the property.
Each annotation is a pair of strings, where the key is of the same format as a D-Bus interface name. The value is arbitrary.
Definition at line 128 of file qdbusintrospection_p.h.
Referenced by QDBusXmlParser::interfaces(), operator==(), and QDBusMetaObjectGenerator::parseProperties().
| QDBusIntrospection::Property::name |
The property's name.
Definition at line 125 of file qdbusintrospection_p.h.
Referenced by QDBusXmlParser::interfaces(), operator==(), and QDBusMetaObjectGenerator::parseProperties().
| QDBusIntrospection::Property::type |
The property's type.
Definition at line 126 of file qdbusintrospection_p.h.
Referenced by QDBusXmlParser::interfaces(), operator==(), and QDBusMetaObjectGenerator::parseProperties().