00001 #ifndef CONTACTMANAGER_H 00002 #define CONTACTMANAGER_H 00003 00004 #include <QObject> 00005 #include <QHash> 00006 00007 class ContactManagerPrivate; 00008 00012 class ContactManager : public QObject 00013 { 00014 Q_OBJECT 00015 public: 00019 friend class ContactManagerPrivate; 00020 00026 ContactManager(QObject *parent = 0); 00027 00028 /******************************************************************************* 00029 * MEMBER FUNCTIONS AND SLOTS 00030 ******************************************************************************/ 00037 QString contactGuid(const QString &facebookId) const; 00038 00045 void requestContactGuids(); 00046 00047 /******************************************************************************* 00048 * SIGNALS 00049 ******************************************************************************/ 00050 signals: 00058 void contactsGuidsAdded(const QHash<QString, QString> &contactGuids); 00059 00060 /****************************************************************************** 00061 * DATA MEMBERS 00062 ******************************************************************************/ 00063 private: 00064 ContactManagerPrivate *m_contactManagerPrivate; 00065 }; 00066 00067 #endif // CONTACTMANAGER_H