Home · All Classes · All Namespaces · Modules · Functions · Files
utils.h
00001 
00023 #ifndef _TelepathyQt_utils_h_HEADER_GUARD_
00024 #define _TelepathyQt_utils_h_HEADER_GUARD_
00025 
00026 #ifndef IN_TP_QT_HEADER
00027 #error IN_TP_QT_HEADER
00028 #endif
00029 
00030 #include <TelepathyQt/Global>
00031 
00032 #include <QString>
00033 #include <QVariant>
00034 
00035 namespace Tp
00036 {
00037 
00038 TP_QT_EXPORT QString escapeAsIdentifier(const QString &string);
00039 
00040 TP_QT_EXPORT bool checkValidProtocolName(const QString &protocolName);
00041 
00042 TP_QT_EXPORT QVariant::Type variantTypeFromDBusSignature(const QString &signature);
00043 TP_QT_EXPORT QVariant parseValueWithDBusSignature(const QString &value,
00044         const QString &dbusSignature);
00045 
00046 } // Tp
00047 
00048 #endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.3