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

pending-contact-info.h

    00001
    00023 #ifndef _TelepathyQt_pending_contact_info_h_HEADER_GUARD_
    00024 #define _TelepathyQt_pending_contact_info_h_HEADER_GUARD_
    00025
    00026 #ifndef IN_TP_QT_HEADER
    00027 #error IN_TP_QT_HEADER
    00028 #endif
    00029
    00030 #include <TelepathyQt/Contact>
    00031 #include <TelepathyQt/PendingOperation>
    00032 #include <TelepathyQt/Types>
    00033
    00034 class QDBusPendingCallWatcher;
    00035
    00036 namespace Tp
    00037 {
    00038
    00039 class TP_QT_EXPORT PendingContactInfo : public PendingOperation
    00040 {
    00041     Q_OBJECT
    00042     Q_DISABLE_COPY(PendingContactInfo);
    00043
    00044 public:
    00045     ~PendingContactInfo();
    00046
    00047     ContactPtr contact() const;
    00048
    00049     Contact::InfoFields infoFields() const;
    00050
    00051 private Q_SLOTS:
    00052     TP_QT_NO_EXPORT void onCallFinished(QDBusPendingCallWatcher *watcher);
    00053
    00054 private:
    00055     friend class Contact;
    00056
    00057     TP_QT_NO_EXPORT PendingContactInfo(const ContactPtr &contact);
    00058
    00059     struct Private;
    00060     friend struct Private;
    00061     Private *mPriv;
    00062 };
    00063
    00064 } // Tp
    00065
    00066 #endif