phonebookengines/cntlistmodel/tsrc/ut_cntlistmodel/inc/ut_cntlistmodel.h
changeset 71 7cc7d74059f9
parent 46 efe85016a067
equal deleted inserted replaced
65:ae724a111993 71:7cc7d74059f9
    32 {
    32 {
    33     Q_OBJECT
    33     Q_OBJECT
    34 
    34 
    35 private:
    35 private:
    36     void contactReady(int start, int end);
    36     void contactReady(int start, int end);
       
    37     QContact createContact(const QString& firstName, const QString& lastName);
       
    38     void addGroupMember(const QContact& group, const QContact& contact);
       
    39     void removeGroupMember(const QContact& group, const QContact& contact);
    37 
    40 
    38 private slots:
    41 private slots:
    39 	void initTestCase();
    42 	void initTestCase();
    40 	void create();
    43 	void create();
    41 	
    44 	
    42 	void data();
    45 	void data();
    43 	void rowCount();
    46 	void rowCount();
    44 	
    47 	
    45 	void contact();
    48 	void contact();
       
    49 	void contactId();
    46 	void indexOfContact();
    50 	void indexOfContact();
       
    51 	void indexOfContactId();
    47 	void contactManager();
    52 	void contactManager();
    48 	void setFilter();
    53 	void setFilter();
    49 	void myCard();
    54 	void myCard();
    50 
    55 
    51 	void rowId();
    56 	void rowId();
    53 
    58 
    54     void handleAdded();
    59     void handleAdded();
    55     void handleChanged();
    60     void handleChanged();
    56     void handleRemoved();
    61     void handleRemoved();
    57 	void handleMyCardChanged();
    62 	void handleMyCardChanged();
       
    63     void handleRelationships();
    58 	
    64 	
    59 	void cleanupTestCase();
    65 	void cleanupTestCase();
    60 	
    66 	
    61 private:
    67 private:
    62     QContactManager *mManager;
    68     QContactManager *mManager;