42 #ifndef QDBUSEXTRATYPES_H 43 #define QDBUSEXTRATYPES_H 47 #include <QtCore/qvariant.h> 48 #include <QtCore/qstring.h> 49 #include <QtDBus/qdbusmacros.h> 72 inline void setPath(
const QString &path);
100 {
return lhs.
path() == rhs.
path(); }
103 {
return lhs.
path() != rhs.
path(); }
122 inline void setSignature(
const QString &signature);
167 inline void setVariant(
const QVariant &variant);
The QVariant class acts like a union for the most common Qt data types.
QVariant & operator=(const QVariant &other)
Assigns the value of the variant variant to this variant.
void setVariant(const QVariant &variant)
Assigns the value of the given Qt variant to this D-Bus variant.
#define QT_END_NAMESPACE
This macro expands to.
QString & operator=(QChar c)
static QString fromAscii(const char *, int size=-1)
Returns a QString initialized with the first size characters from the string str. ...
The QDBusSignature class enables the programmer to identify the SIGNATURE type provided by the D-Bus ...
void setSignature(const QString &signature)
Assigns the value of the given signature to this signature.
The QString class provides a Unicode character string.
bool operator==(const QString &s) const
Returns true if string other is equal to this string; otherwise returns false.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QDBusObjectPath & operator=(const QDBusObjectPath &path)
Assigns the value of the given path to this object path.
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
QString path() const
Returns this object path.
QDBusSignature & operator=(const QDBusSignature &signature)
Assigns the value of the given signature to this signature.
uint qHash(const QUrl &url)
void setPath(const QString &path)
Assigns the value of the given path to this object path.
QDBusSignature()
Constructs a new signature.
QDBusVariant()
Constructs a new D-Bus variant.
bool operator==(const QVariant &v) const
Compares this QVariant with v and returns true if they are equal; otherwise returns false...
The QDBusObjectPath class enables the programmer to identify the OBJECT_PATH type provided by the D-B...
QVariant variant() const
Returns this D-Bus variant as a QVariant object.
bool operator!=(const QString &s) const
Returns true if this string is not equal to string other; otherwise returns false.
QString signature() const
Returns this signature.
The QDBusVariant class enables the programmer to identify the variant type provided by the D-Bus type...
bool operator<(const QString &s) const
Returns true if this string is lexically less than string other; otherwise returns false...
The QList class is a template class that provides lists.
QDBusObjectPath()
Constructs a new object path.