23 #ifndef _TelepathyQt_pending_contacts_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_contacts_h_HEADER_GUARD_
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
30 #include <TelepathyQt/PendingOperation>
36 #include <QStringList>
38 #include <TelepathyQt/Types>
39 #include <TelepathyQt/Contact>
54 ContactManagerPtr manager()
const;
57 bool isForHandles()
const;
60 bool isForIdentifiers()
const;
61 QStringList identifiers()
const;
63 bool isForVCardAddresses()
const;
64 QString vcardField()
const;
65 QStringList vcardAddresses()
const;
67 bool isForUris()
const;
68 QStringList uris()
const;
70 bool isUpgrade()
const;
71 QList<ContactPtr> contactsToUpgrade()
const;
73 QList<ContactPtr> contacts()
const;
75 QStringList validIdentifiers()
const;
76 QHash<QString, QPair<QString, QString> > invalidIdentifiers()
const;
77 QStringList validVCardAddresses()
const;
78 QStringList invalidVCardAddresses()
const;
79 QStringList validUris()
const;
80 QStringList invalidUris()
const;
88 TP_QT_NO_EXPORT
void onInspectHandlesFinished(QDBusPendingCallWatcher *);
106 const QStringList &interfaces,
107 const QMap<uint, ContactPtr> &satisfyingContacts,
108 const QSet<uint> &otherContacts,
109 const QString &errorName = QString(),
110 const QString &errorMessage = QString());
111 TP_QT_NO_EXPORT
PendingContacts(
const ContactManagerPtr &manager,
const QStringList &list,
112 RequestType requestType,
114 const QStringList &interfaces,
115 const QString &errorName = QString(),
116 const QString &errorMessage = QString());
117 TP_QT_NO_EXPORT
PendingContacts(
const ContactManagerPtr &manager,
const QString &vcardField,
118 const QStringList &vcardAddresses,
120 const QStringList &interfaces,
121 const QString &errorName = QString(),
122 const QString &errorMessage = QString());
123 TP_QT_NO_EXPORT
PendingContacts(
const ContactManagerPtr &manager,
const QList<ContactPtr> &contacts,
125 const QString &errorName = QString(),
126 const QString &errorMessage = QString());
128 TP_QT_NO_EXPORT
void allAttributesFetched();
131 friend struct Private;
The ContactManager class is responsible for managing contacts.
Definition: contact-manager.h:50
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: build/TelepathyQt/_gen/types.h:101
The PendingContacts class is used by ContactManager when creating/updating Contact objects...
Definition: pending-contacts.h:46
The Features class represents a list of Feature.
Definition: feature.h:61