94 void insertItem( KLookupKey aKey, QList<CntEditViewItem*> aList ); |
94 void insertItem( KLookupKey aKey, QList<CntEditViewItem*> aList ); |
95 void insertDetailItem( KLookupKey aKey, QList<CntEditViewItem*> aList ); |
95 void insertDetailItem( KLookupKey aKey, QList<CntEditViewItem*> aList ); |
96 void removeItem( KLookupKey aKey ); |
96 void removeItem( KLookupKey aKey ); |
97 void insertSeparator(); |
97 void insertSeparator(); |
98 |
98 |
99 #ifdef PBK_UNIT_TEST |
|
100 public: |
|
101 #else |
|
102 private: |
99 private: |
103 #endif |
|
104 QList<CntEditViewItem*> mItemList; |
100 QList<CntEditViewItem*> mItemList; |
105 CntExtensionManager* mManager; |
101 CntExtensionManager* mManager; |
106 CntEditViewItemBuilder* mBuilder; |
102 CntEditViewItemBuilder* mBuilder; |
107 CntEditViewItem* mSeparator; |
103 CntEditViewItem* mSeparator; |
108 QContact* mContact; // not owned |
104 QContact* mContact; // not owned |
109 |
105 |
110 QMap<KLookupKey, int> mLookupTable; |
106 QMap<KLookupKey, int> mLookupTable; |
111 QMap<QString, KLookupKey> mLookupMap; |
107 QMap<QString, KLookupKey> mLookupMap; |
|
108 |
|
109 friend class TestCntEditView; |
112 }; |
110 }; |
113 #endif /* CNTEDITVIEWLISTMODEL_H_ */ |
111 #endif /* CNTEDITVIEWLISTMODEL_H_ */ |