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

pending-contact-info.h

00001 
00023 #ifndef _TelepathyQt4_pending_contact_info_h_HEADER_GUARD_
00024 #define _TelepathyQt4_pending_contact_info_h_HEADER_GUARD_
00025 
00026 #ifndef IN_TELEPATHY_QT4_HEADER
00027 #error IN_TELEPATHY_QT4_HEADER
00028 #endif
00029 
00030 #include <TelepathyQt4/Contact>
00031 #include <TelepathyQt4/PendingOperation>
00032 #include <TelepathyQt4/Types>
00033 
00034 class QDBusPendingCallWatcher;
00035 
00036 namespace Tp
00037 {
00038 
00039 class TELEPATHY_QT4_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     TELEPATHY_QT4_NO_EXPORT void onCallFinished(QDBusPendingCallWatcher *watcher);
00053 
00054 private:
00055     friend class Contact;
00056 
00057     TELEPATHY_QT4_NO_EXPORT PendingContactInfo(const ContactPtr &contact);
00058 
00059     struct Private;
00060     friend struct Private;
00061     Private *mPriv;
00062 };
00063 
00064 } // Tp
00065 
00066 #endif

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