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
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 76 of file qdbusextratypes.h.

Constructor & Destructor Documentation

◆ QDBusSignature() [1/5]

QDBusSignature::QDBusSignature ( )
inlinenoexcept

Constructs a new signature.

See also
setSignature()

Definition at line 80 of file qdbusextratypes.h.

◆ QDBusSignature() [2/5]

QDBusSignature::QDBusSignature ( const char * signature)
inlineexplicit

Constructs a new signature from the given signature.

Definition at line 101 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 105 of file qdbusextratypes.h.

◆ QDBusSignature() [4/5]

QDBusSignature::QDBusSignature ( const QString & signature)
inlineexplicit

Constructs a new signature from the given signature.

Definition at line 109 of file qdbusextratypes.h.

◆ QDBusSignature() [5/5]

QDBusSignature::QDBusSignature ( QString && sig)
inlineexplicit

Definition at line 87 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 113 of file qdbusextratypes.h.

◆ signature()

QString QDBusSignature::signature ( ) const
inline

Returns this signature.

See also
setSignature()

Definition at line 93 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 89 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: