Home · All Classes · All Namespaces · Modules · Functions · Files
pending-contact-info.h
1 
23 #ifndef _TelepathyQt_pending_contact_info_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_contact_info_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Contact>
31 #include <TelepathyQt/PendingOperation>
32 #include <TelepathyQt/Types>
33 
34 class QDBusPendingCallWatcher;
35 
36 namespace Tp
37 {
38 
39 class TP_QT_EXPORT PendingContactInfo : public PendingOperation
40 {
41  Q_OBJECT
42  Q_DISABLE_COPY(PendingContactInfo);
43 
44 public:
46 
47  ContactPtr contact() const;
48 
49  Contact::InfoFields infoFields() const;
50 
51 private Q_SLOTS:
52  TP_QT_NO_EXPORT void onCallFinished(QDBusPendingCallWatcher *watcher);
53 
54 private:
55  friend class Contact;
56 
57  TP_QT_NO_EXPORT PendingContactInfo(const ContactPtr &contact);
58 
59  struct Private;
60  friend struct Private;
61  Private *mPriv;
62 };
63 
64 } // Tp
65 
66 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The PendingContactInfo class represents the parameters of and the reply to an asynchronous contact in...
Definition: pending-contact-info.h:39
The Contact class represents a Telepathy contact.
Definition: contact.h:51
The Contact::InfoFields class represents the information of a Telepathy contact.
Definition: contact.h:73


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