diff -r 0ba2181d7c28 -r 76a2435edfd4 phonebookui/pbkcommonui/inc/cntdetailpopup.h --- a/phonebookui/pbkcommonui/inc/cntdetailpopup.h Fri Mar 19 09:27:18 2010 +0200 +++ b/phonebookui/pbkcommonui/inc/cntdetailpopup.h Fri Apr 16 14:53:18 2010 +0300 @@ -21,18 +21,13 @@ #include #include -class QStringListModel; +class QStandardItemModel; class HbListView; class CntDetailPopup : public HbDialog { Q_OBJECT - public: - CntDetailPopup(QStringList excludeList, QGraphicsItem *parent = 0); - ~CntDetailPopup(); - - QString selectedDetail(); static QString selectDetail(QStringList excludeList); #ifdef PBK_UNIT_TEST @@ -47,9 +42,21 @@ #else private: #endif - QStringListModel *mListModel; + CntDetailPopup(QStringList excludeList, QGraphicsItem *parent = 0); + ~CntDetailPopup(); + + QString selectedDetail(); + void addListItem(QString label, QString id1, QString id2 = ""); + +#ifdef PBK_UNIT_TEST +public: +#else +private: +#endif + QStandardItemModel *mListModel; HbListView *mListView; QString mSelectedDetail; + QStringList mExcludeList; }; #endif // CNTDETAILPOPUP_H