phonebookui/pbkcommonui/inc/cntnamesview_p.h
changeset 40 b46a585f6909
parent 37 fd64c38c277d
child 46 efe85016a067
--- a/phonebookui/pbkcommonui/inc/cntnamesview_p.h	Thu May 27 12:45:19 2010 +0300
+++ b/phonebookui/pbkcommonui/inc/cntnamesview_p.h	Fri Jun 11 13:29:23 2010 +0300
@@ -19,7 +19,7 @@
 #define CNTABSTRACTLISTVIEW_H_
 
 #include "cntnamesview.h"
-#include "cntaction.h"
+#include "cntactionlauncher.h"
 #include "cntactionmenubuilder.h"
 
 #include <hbaction.h>
@@ -27,7 +27,7 @@
 #include <QObject>
 
 #include <qcontact.h>
-#include <mobcntmodel.h>
+#include <cntlistmodel.h>
 
 class HbView;
 class HbListView;
@@ -41,7 +41,7 @@
 class CntFetchContacts;
 
 class CntNamesViewPrivate : public QObject
-    {
+{
     Q_OBJECT
     Q_DECLARE_PUBLIC(CntNamesView)
     
@@ -77,11 +77,12 @@
     void showSettings();
     
     void executeAction( QContact& aContact, QString aAction );
-    void actionExecuted( CntAction* aAction );
+    void actionExecuted( CntActionLauncher* aAction );
     void handleDeleteContact( HbAction* aAction );
     void importSim();
     
     void handleContactAddition(const QList<QContactLocalId> & aAddedList);
+    void handleContactChanged(const QList<QContactLocalId> & aChangedList);
     void handleContactRemoval(const QList<QContactLocalId> & aRemovedList);
     void handleSelfContactIdChange(const QContactLocalId & aOldId, const QContactLocalId & aNewId);
     
@@ -107,7 +108,7 @@
 private:
     CntExtensionManager&        mExtensionManager;
     CntAbstractViewManager*     mViewManager;
-    MobCntModel*                mListModel;
+    CntListModel*               mListModel;
     HbView*                     mView;
     HbListView*                 mListView;
     HbTextItem*                 mEmptyList;
@@ -125,6 +126,7 @@
     CntFetchContacts*           mFetchView;
     bool                        mIsDefault;
     int                         mId;
-    bool                        mMenuVisible;
-    };
+    QActionGroup*               mActionGroup;
+};
+
 #endif /* CNTABSTRACTLISTVIEW_H_ */