Qt 4.8
Namespaces | Enumerations | Functions
qdbusutil_p.h File Reference
#include <QtCore/qstring.h>
#include <QtCore/qvariant.h>
#include <QtDBus/qdbusmacros.h>
#include <QtDBus/qdbuserror.h>

Go to the source code of this file.

Namespaces

 QDBusUtil
 The QDBusUtil namespace contains a few functions that are of general use when dealing with D-Bus strings.
 

Enumerations

enum  QDBusUtil::AllowEmptyFlag { QDBusUtil::EmptyAllowed, QDBusUtil::EmptyNotAllowed }
 

Functions

QString QDBusUtil::argumentToString (const QVariant &arg)
 Dumps the contents of a QtDBus argument from arg into a string. More...
 
bool QDBusUtil::checkBusName (const QString &name, AllowEmptyFlag empty, QDBusError *error)
 
bool QDBusUtil::checkErrorName (const QString &name, AllowEmptyFlag empty, QDBusError *error)
 
bool QDBusUtil::checkInterfaceName (const QString &name, AllowEmptyFlag empty, QDBusError *error)
 
bool QDBusUtil::checkMemberName (const QString &name, AllowEmptyFlag empty, QDBusError *error, const char *nameType=0)
 
bool QDBusUtil::checkObjectPath (const QString &path, AllowEmptyFlag empty, QDBusError *error)
 
bool QDBusUtil::isValidBasicType (int c)
 Returns true if c is a valid, basic D-Bus type. More...
 
bool QDBusUtil::isValidBusName (const QString &busName)
 Returns true if busName is a valid bus name. More...
 
bool QDBusUtil::isValidErrorName (const QString &errorName)
 Returns true if errorName is a valid error name. More...
 
bool QDBusUtil::isValidFixedType (int c)
 Returns true if c is a valid, fixed D-Bus type. More...
 
bool QDBusUtil::isValidInterfaceName (const QString &ifaceName)
 Returns true if this is ifaceName is a valid interface name. More...
 
bool QDBusUtil::isValidMemberName (const QString &memberName)
 Returns true if memberName is a valid member name. More...
 
bool QDBusUtil::isValidObjectPath (const QString &path)
 Returns true if path is valid object path. More...
 
bool QDBusUtil::isValidPartOfObjectPath (const QString &part)
 
bool QDBusUtil::isValidSignature (const QString &signature)
 Returns true if signature is a valid D-Bus type signature for one or more types. More...
 
bool QDBusUtil::isValidSingleSignature (const QString &signature)
 Returns true if signature is a valid D-Bus type signature for exactly one full type. More...
 
bool QDBusUtil::isValidUniqueConnectionName (const QString &connName)
 Returns true if connName is a valid unique connection name. More...