56 #include <QtCore/qstring.h> 57 #include <QtCore/qvariant.h> 59 #include <QtDBus/qdbusmacros.h> 60 #include <QtDBus/qdbuserror.h> 137 if (!nameType) nameType =
"member";
The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
bool isValidObjectPath(const QString &path)
Returns true if path is valid object path.
bool checkMemberName(const QString &name, AllowEmptyFlag empty, QDBusError *error, const char *nameType=0)
The QDBusError class represents an error received from the D-Bus bus or from remote applications foun...
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
bool isValidInterfaceName(const QString &ifaceName)
Returns true if this is ifaceName is a valid interface name.
bool checkBusName(const QString &name, AllowEmptyFlag empty, QDBusError *error)
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
bool isValidSignature(const QString &signature)
Returns true if signature is a valid D-Bus type signature for one or more types.
bool isValidMemberName(const QString &memberName)
Returns true if memberName is a valid member name.
bool isValidSingleSignature(const QString &signature)
Returns true if signature is a valid D-Bus type signature for exactly one full type.
bool isValidErrorName(const QString &errorName)
Returns true if errorName is a valid error name.
bool isValidFixedType(int c)
Returns true if c is a valid, fixed D-Bus type.
bool isValidUniqueConnectionName(const QString &connName)
Returns true if connName is a valid unique connection name.
bool isValidBasicType(int c)
Returns true if c is a valid, basic D-Bus type.
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
bool checkObjectPath(const QString &path, AllowEmptyFlag empty, QDBusError *error)
static QByteArray memberName(const QMetaMethod &member)
bool checkErrorName(const QString &name, AllowEmptyFlag empty, QDBusError *error)
bool isValidPartOfObjectPath(const QString &part)
The QDBusUtil namespace contains a few functions that are of general use when dealing with D-Bus stri...
bool checkInterfaceName(const QString &name, AllowEmptyFlag empty, QDBusError *error)
QString argumentToString(const QVariant &arg)
Dumps the contents of a QtDBus argument from arg into a string.
bool isValidBusName(const QString &busName)
Returns true if busName is a valid bus name.