manager-file.h Source File

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

manager-file.h
1
23 #ifndef _TelepathyQt_manager_file_h_HEADER_GUARD_
24 #define _TelepathyQt_manager_file_h_HEADER_GUARD_
25
26 #include <TelepathyQt/AvatarSpec>
27 #include <TelepathyQt/PresenceSpec>
28 #include <TelepathyQt/Types>
29
30 #include <QMetaType>
31 #include <QVariant>
32
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34
35 namespace Tp
36 {
37
38 class TP_QT_NO_EXPORT ManagerFile
39 {
40 public:
41 ManagerFile();
42 ManagerFile(const ManagerFile &other);
43 ManagerFile(const QString &cmName);
44 ~ManagerFile();
45
46 ManagerFile &operator=(const ManagerFile &other);
47
48 QString cmName() const;
49
50 bool isValid() const;
51 QStringList protocols() const;
52 ParamSpecList parameters(const QString &protocol) const;
53 QString vcardField(const QString &protocol) const;
54 QString englishName(const QString &protocol) const;
55 QString iconName(const QString &protocol) const;
56 RequestableChannelClassList requestableChannelClasses(
57 const QString &protocol) const;
58 PresenceSpecList allowedPresenceStatuses(const QString &protocol) const;
59 AvatarSpec avatarRequirements(const QString &protocol) const;
60 QStringList addressableVCardFields(const QString &protocol) const;
61 QStringList addressableUriSchemes(const QString &protocol) const;
62
63 private:
64 struct Private;
65 friend struct Private;
66 Private *mPriv;
67 };
68
69 }
70
71 Q_DECLARE_METATYPE(Tp::ManagerFile);
72
73 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
74
75 #endif
Tp::RequestableChannelClassList
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2621
Tp::ParamSpecList
QList< ParamSpec > ParamSpecList
Definition: build/TelepathyQt/_gen/types.h:2222