phonebookui/pbkcommonui/inc/cnteditviewlistmodel.h
changeset 46 efe85016a067
parent 40 b46a585f6909
child 47 7cbcb2896f0e
equal deleted inserted replaced
40:b46a585f6909 46:efe85016a067
    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_ */