4#ifndef QDBUSEXTRATYPES_H
5#define QDBUSEXTRATYPES_H
9#include <QtDBus/qtdbusglobal.h>
10#include <QtCore/qvariant.h>
11#include <QtCore/qstring.h>
12#include <QtCore/qhashfunctions.h>
46 : m_path(
QString::fromLatin1(objectPath))
58{ m_path = objectPath; doCheck(); }
88 inline void setSignature(
const QString &signature);
91 {
return m_signature; }
99 : m_signature(
QString::fromLatin1(dBusSignature))
103 : m_signature(dBusSignature)
107 : m_signature(dBusSignature)
111{ m_signature = dBusSignature; doCheck(); }
123{
return qHash(signature.signature(),
seed); }
141 {
return m_variant; }
146 : m_variant(dBusVariant) { }
149{ m_variant = dBusVariant; }
152{
return v1.variant() ==
v2.variant(); }
void setPath(const QString &path)
Assigns the value of the given path to this object path.
QDBusObjectPath() noexcept
Constructs a new object path.
QDBusObjectPath(QString &&p)
QString path() const
Returns this object path.
void swap(QDBusObjectPath &other) noexcept
Swaps this QDBusObjectPath instance with other.
void setSignature(const QString &signature)
Assigns the value of the given signature to this signature.
QDBusSignature() noexcept
Constructs a new signature.
void swap(QDBusSignature &other) noexcept
Swaps this QDBusSignature instance with other.
QDBusSignature(QString &&sig)
QString signature() const
Returns this signature.
QDBusVariant(QVariant &&v) noexcept
void setVariant(const QVariant &variant)
Assigns the value of the given Qt variant to this D-Bus variant.
void swap(QDBusVariant &other) noexcept
Swaps this QDBusVariant instance with other.
QVariant variant() const
Returns this D-Bus variant as a QVariant object.
QDBusVariant() noexcept
Constructs a new D-Bus variant.
\macro QT_RESTRICTED_CAST_FROM_ASCII
void swap(QVariant &other) noexcept
Combined button and popup list for selecting options.
GLint GLfloat GLfloat GLfloat v2
GLsizei const GLfloat * v
[13]
GLsizei const GLchar *const * path
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed