Home · Modules · All Classes · All Namespaces
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
QVariant parseValueWithDBusSignature(const QString &value, const QString &dbusSignature)
Definition: utils.cpp:181
QString escapeAsIdentifier(const QString &string)
Definition: utils.cpp:62
QVariant::Type variantTypeFromDBusSignature(const QString &signature)
Definition: utils.cpp:152
bool checkValidProtocolName(const QString &protocolName)
Definition: utils.cpp:123
Definition: abstract-adaptor.cpp:31