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::Interface Class Reference

\inmodule QtDBus More...

#include <qdbusintrospection_p.h>

+ Inheritance diagram for QDBusIntrospection::Interface:
+ Collaboration diagram for QDBusIntrospection::Interface:

Public Member Functions

bool operator== (const Interface &other) const
 \variable QDBusIntrospection::Interface::name The interface's name.
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Public Attributes

SourceLocation location
 
QString name
 
QString introspection
 
Annotations annotations
 
Methods methods
 
Signals signals_
 
Properties properties
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

\inmodule QtDBus

Information about one interface on the bus.

Each interface on D-Bus has a unique name, identifying where that interface was defined. Interfaces may have annotations, methods, signals and properties, but none are mandatory.

Definition at line 134 of file qdbusintrospection_p.h.

Member Function Documentation

◆ operator==()

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

\variable QDBusIntrospection::Interface::name The interface's name.

\variable QDBusIntrospection::Interface::introspection The XML document fragment describing this interface.

If parsed again through parseInterface, the object returned should have the same contents as this object.

\variable QDBusIntrospection::Interface::annotations The annotations associated with the interface. 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.

\variable QDBusIntrospection::Interface::methods The methods available in this interface. Note that method names are not unique (i.e., methods can be overloaded with multiple arguments types).

\variable QDBusIntrospection::Interface::signals_ The signals available in this interface. Note that signal names are not unique (i.e., signals can be overloaded with multiple argument types).

This member is called "signals_" because "signals" is a reserved keyword in Qt.

\variable QDBusIntrospection::Interface::properties The properties available in this interface. Property names are unique.

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

Note that two interfaces are considered to be the same if they have the same name. The internal structures in the objects are not compared.

Definition at line 145 of file qdbusintrospection_p.h.

References other().

+ Here is the call graph for this function:

Member Data Documentation

◆ annotations

Annotations QDBusIntrospection::Interface::annotations

Definition at line 140 of file qdbusintrospection_p.h.

Referenced by QDBusMetaObject::createMetaObject().

◆ introspection

QString QDBusIntrospection::Interface::introspection

Definition at line 138 of file qdbusintrospection_p.h.

Referenced by QDBusMetaObject::createMetaObject().

◆ location

SourceLocation QDBusIntrospection::Interface::location

Definition at line 136 of file qdbusintrospection_p.h.

◆ methods

Methods QDBusIntrospection::Interface::methods

Definition at line 141 of file qdbusintrospection_p.h.

Referenced by QDBusMetaObject::createMetaObject().

◆ name

QString QDBusIntrospection::Interface::name

Definition at line 137 of file qdbusintrospection_p.h.

Referenced by QDBusMetaObject::createMetaObject().

◆ properties

Properties QDBusIntrospection::Interface::properties

Definition at line 143 of file qdbusintrospection_p.h.

Referenced by QDBusMetaObject::createMetaObject().

◆ signals_

Signals QDBusIntrospection::Interface::signals_

Definition at line 142 of file qdbusintrospection_p.h.

Referenced by QDBusMetaObject::createMetaObject().


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