Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QDBusIntrospection::Property Class Reference

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...
 

Detailed Description

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.

Enumerations

◆ Access

The possible access rights for a property:

  • Read
  • Write
  • ReadWrite
Enumerator
Read 
Write 
ReadWrite 

Definition at line 124 of file qdbusintrospection_p.h.

Functions

◆ operator==()

QDBusIntrospection::Property::operator== ( const Property other) const
inline

Compares this object against other and return true if they are the same.

Definition at line 130 of file qdbusintrospection_p.h.

131  { return access == other.access && name == other.name &&
132  annotations == other.annotations && type == other.type; }
QString name
The property&#39;s name.
QString type
The property&#39;s type.
Access access
The property&#39;s access rights.
Annotations annotations
The annotations associated with the property.

Properties

◆ access

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().

◆ annotations

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().

◆ name

QDBusIntrospection::Property::name

The property's name.

Definition at line 125 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::interfaces(), operator==(), and QDBusMetaObjectGenerator::parseProperties().

◆ type

QDBusIntrospection::Property::type

The property's type.

Definition at line 126 of file qdbusintrospection_p.h.

Referenced by QDBusXmlParser::interfaces(), operator==(), and QDBusMetaObjectGenerator::parseProperties().


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