00001 #ifndef CONTACTMANAGERPRIVATE_H 00002 #define CONTACTMANAGERPRIVATE_H 00003 00004 #include <QObject> 00005 00006 #include <QContactManager> 00007 00008 class ContactManager; 00009 00010 QTM_USE_NAMESPACE 00011 00015 class ContactManagerPrivate : public QObject 00016 { 00017 Q_OBJECT 00018 00019 public: 00025 ContactManagerPrivate(QObject *parent = 0); 00026 00027 /******************************************************************************* 00028 * MEMBER FUNCTIONS AND SLOTS 00029 ******************************************************************************/ 00036 QString contactGuid(const QString &facebookId) const; 00037 00044 void requestContactGuids(); 00045 00046 private: 00053 QString parseFacebookId(const QString &accountUri) const; 00054 00055 /****************************************************************************** 00056 * DATA MEMBERS 00057 ******************************************************************************/ 00058 private: 00059 ContactManager *m_parent; 00060 QContactManager *m_manager; 00061 QHash<QString, QString> m_contactGuids; 00062 }; 00063 00064 #endif // CONTACTMANAGERPRIVATE_H