utils.h Source File

| Home · All Classes · All Namespaces · Modules · Functions · Files

utils.h
1
23 #ifndef _TelepathyQt_utils_h_HEADER_GUARD_
24 #define _TelepathyQt_utils_h_HEADER_GUARD_
25
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29
30 #include <TelepathyQt/Global>
31
32 #include <QString>
33 #include <QVariant>
34
35 namespace Tp
36 {
37
38 TP_QT_EXPORT QString escapeAsIdentifier(const QString &string);
39
40 TP_QT_EXPORT bool checkValidProtocolName(const QString &protocolName);
41
42 TP_QT_EXPORT QVariant::Type variantTypeFromDBusSignature(const QString &signature);
43 TP_QT_EXPORT QVariant parseValueWithDBusSignature(const QString &value,
44 const QString &dbusSignature);
45
46 } // Tp
47
48 #endif
Tp::checkValidProtocolName
bool checkValidProtocolName(const QString &protocolName)
Definition: utils.cpp:122
Tp::variantTypeFromDBusSignature
QVariant::Type variantTypeFromDBusSignature(const QString &signature)
Definition: utils.cpp:148
Tp::parseValueWithDBusSignature
QVariant parseValueWithDBusSignature(const QString &value, const QString &dbusSignature)
Definition: utils.cpp:174
Tp::escapeAsIdentifier
QString escapeAsIdentifier(const QString &string)
Definition: utils.cpp:64