Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDBusIntrospection::Property Class Reference

\inmodule QtDBus More...

#include <qdbusintrospection_p.h>

+ Collaboration diagram for QDBusIntrospection::Property:

Public Types

enum  Access { Read , Write , ReadWrite }
 \variable QDBusIntrospection::Property::name The property's name. More...
 

Public Member Functions

bool operator== (const Property &other) const
 \variable QDBusIntrospection::Property::access The property's access rights.
 

Public Attributes

SourceLocation location
 
QString name
 
QString type
 
Access access
 
Annotations annotations
 

Detailed Description

\inmodule QtDBus

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 120 of file qdbusintrospection_p.h.

Member Enumeration Documentation

◆ Access

\variable QDBusIntrospection::Property::name The property's name.

\variable QDBusIntrospection::Property::type The property's type.

The possible access rights for a property: \value Read \value Write \value ReadWrite

Enumerator
Read 
Write 
ReadWrite 

Definition at line 122 of file qdbusintrospection_p.h.

Member Function Documentation

◆ operator==()

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

\variable QDBusIntrospection::Property::access The property's access rights.

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

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

Definition at line 129 of file qdbusintrospection_p.h.

References other().

+ Here is the call graph for this function:

Member Data Documentation

◆ access

Access QDBusIntrospection::Property::access

Definition at line 126 of file qdbusintrospection_p.h.

◆ annotations

Annotations QDBusIntrospection::Property::annotations

Definition at line 127 of file qdbusintrospection_p.h.

◆ location

SourceLocation QDBusIntrospection::Property::location

Definition at line 123 of file qdbusintrospection_p.h.

◆ name

QString QDBusIntrospection::Property::name

Definition at line 124 of file qdbusintrospection_p.h.

◆ type

QString QDBusIntrospection::Property::type

Definition at line 125 of file qdbusintrospection_p.h.


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