MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9
   Home · All Classes · All Namespaces · Modules · Functions · Files

manager-file.h

00001 
00023 #ifndef _TelepathyQt4_manager_file_h_HEADER_GUARD_
00024 #define _TelepathyQt4_manager_file_h_HEADER_GUARD_
00025 
00026 #ifndef IN_TELEPATHY_QT4_HEADER
00027 #error IN_TELEPATHY_QT4_HEADER
00028 #endif
00029 
00030 #include <TelepathyQt4/AvatarSpec>
00031 #include <TelepathyQt4/PresenceSpec>
00032 #include <TelepathyQt4/Types>
00033 
00034 #include <QMetaType>
00035 #include <QVariant>
00036 
00037 namespace Tp
00038 {
00039 
00040 class TELEPATHY_QT4_EXPORT ManagerFile
00041 {
00042 public:
00043     ManagerFile();
00044     ManagerFile(const ManagerFile &other);
00045     ManagerFile(const QString &cmName);
00046     ~ManagerFile();
00047 
00048     ManagerFile &operator=(const ManagerFile &other);
00049 
00050     QString cmName() const;
00051 
00052     bool isValid() const;
00053     QStringList protocols() const;
00054     ParamSpecList parameters(const QString &protocol) const;
00055     QString vcardField(const QString &protocol) const;
00056     QString englishName(const QString &protocol) const;
00057     QString iconName(const QString &protocol) const;
00058     RequestableChannelClassList requestableChannelClasses(
00059             const QString &protocol) const;
00060     PresenceSpecList allowedPresenceStatuses(const QString &protocol) const;
00061     AvatarSpec avatarRequirements(const QString &protocol) const;
00062 
00063     static QVariant::Type variantTypeFromDBusSignature(
00064             const QString &dbusSignature);
00065     static QVariant parseValueWithDBusSignature(const QString &value,
00066             const QString &dbusSignature);
00067 
00068 private:
00069     struct Private;
00070     friend struct Private;
00071     Private *mPriv;
00072 };
00073 
00074 }
00075 
00076 Q_DECLARE_METATYPE(Tp::ManagerFile);
00077 
00078 #endif

Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.6.5