phonebookui/pbkcommonui/inc/cntaddressviewitem.h
changeset 31 2a11b5b00470
parent 25 76a2435edfd4
child 46 efe85016a067
--- a/phonebookui/pbkcommonui/inc/cntaddressviewitem.h	Mon May 03 12:24:20 2010 +0300
+++ b/phonebookui/pbkcommonui/inc/cntaddressviewitem.h	Fri May 14 15:42:23 2010 +0300
@@ -19,11 +19,8 @@
 #define CNTADDRESSVIEWITEM_H_
 
 #include <hbdataformviewitem.h>
-//#include "cntdetailviewitem.h"
 #include <hbpushbutton.h>
-#include <xqappmgr.h>
 
-class XQAiwRequest;
 class HbWidget;
 class HbAbstractViewItem;
 
@@ -34,18 +31,27 @@
 public:
     CntAddressViewItem( QGraphicsItem* aParent = 0 );
     ~CntAddressViewItem();
-   
+
+#ifdef PBK_UNIT_TEST
+public slots:
+#else
 private slots:
+#endif    
     void launchLocationPicker();
-    void handleLocationChange(const QVariant& aValue );
     
 public:
     HbAbstractViewItem* createItem();
     HbWidget* createCustomWidget();
- 
-    XQAiwRequest*         mRequest;
-    XQApplicationManager* mAppManager;
-    QObject*              mSenderButton;
-    };
+    
+    bool canSetModelIndex( const QModelIndex &index ) const;
+    
+#ifdef PBK_UNIT_TEST
+public:
+#else
+private:
+#endif    
+    void handleLocationChange(const QVariant& aValue );
+
+};
 
 #endif /* CNTADDRESSVIEWITEM_H_ */