diff -r 7cbcb2896f0e -r a642906a277a phonebookui/pbkcommonui/inc/cntcollectionlistmodelworker.h --- a/phonebookui/pbkcommonui/inc/cntcollectionlistmodelworker.h Tue Jul 06 14:05:47 2010 +0300 +++ b/phonebookui/pbkcommonui/inc/cntcollectionlistmodelworker.h Wed Aug 18 09:39:00 2010 +0300 @@ -33,6 +33,7 @@ class CntCollectionListModelWorker : public QThread { Q_OBJECT + friend class TestCntCollectionListModelWorker; public: CntCollectionListModelWorker(QString unnamed, QString noFavs, QString noMembers, int sortOrder); @@ -41,14 +42,14 @@ void run(); bool event(QEvent *event); - void scheduleJob(int row, int id); + void scheduleJob(int id); private: void processJobs(); - void fetchInformation(int row, int id); + void fetchInformation(int id); signals: - void fetchDone(int row, const QString& secondRowText, int memberCount); + void fetchDone(int id, const QString& secondRowText, int memberCount); private: bool mStarted; @@ -56,7 +57,7 @@ bool mStopped; QMutex mMutex; - QList< QPair > mJobs; + QList mJobs; QContactManager *mManager;