Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QDBusSignature Class Reference

\inmodule QtDBus More...

#include <qdbusextratypes.h>

+ Collaboration diagram for QDBusSignature:

Public Member Functions

 QDBusSignature () noexcept
 Constructs a new signature.
 
 QDBusSignature (const char *signature)
 Constructs a new signature from the given signature.
 
 QDBusSignature (QLatin1StringView signature)
 Constructs a new signature from the Latin-1 string viewed by signature.
 
 QDBusSignature (const QString &signature)
 Constructs a new signature from the given signature.
 
 QDBusSignature (QString &&sig)
 
void swap (QDBusSignature &other) noexcept
 Swaps this QDBusSignature instance with other.
 
void setSignature (const QString &signature)
 Assigns the value of the given signature to this signature.
 
QString signature () const
 Returns this signature.
 

Detailed Description

\inmodule QtDBus

Since
4.2

The QDBusSignature class enables the programmer to identify the SIGNATURE type provided by the D-Bus typesystem.

See also
{The Qt D-Bus Type System}

Definition at line 73 of file qdbusextratypes.h.

Constructor & Destructor Documentation

◆ QDBusSignature() [1/5]

QDBusSignature::QDBusSignature ( )
inlinenoexcept

Constructs a new signature.

See also
setSignature()

Definition at line 77 of file qdbusextratypes.h.

◆ QDBusSignature() [2/5]

QDBusSignature::QDBusSignature ( const char *  signature)
inlineexplicit

Constructs a new signature from the given signature.

Definition at line 98 of file qdbusextratypes.h.

◆ QDBusSignature() [3/5]

QDBusSignature::QDBusSignature ( QLatin1StringView  signature)
inlineexplicit

Constructs a new signature from the Latin-1 string viewed by signature.

Definition at line 102 of file qdbusextratypes.h.

◆ QDBusSignature() [4/5]

QDBusSignature::QDBusSignature ( const QString signature)
inlineexplicit

Constructs a new signature from the given signature.

Definition at line 106 of file qdbusextratypes.h.

◆ QDBusSignature() [5/5]

QDBusSignature::QDBusSignature ( QString &&  sig)
inlineexplicit

Definition at line 84 of file qdbusextratypes.h.

Member Function Documentation

◆ setSignature()

void QDBusSignature::setSignature ( const QString signature)
inline

Assigns the value of the given signature to this signature.

See also
signature()

Definition at line 110 of file qdbusextratypes.h.

◆ signature()

QString QDBusSignature::signature ( ) const
inline

Returns this signature.

See also
setSignature()

Definition at line 90 of file qdbusextratypes.h.

Referenced by operator!=(), operator<(), and operator==().

+ Here is the caller graph for this function:

◆ swap()

void QDBusSignature::swap ( QDBusSignature other)
inlinenoexcept

Swaps this QDBusSignature instance with other.

Definition at line 86 of file qdbusextratypes.h.

References other().

+ Here is the call graph for this function:

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