equal
deleted
inserted
replaced
41 class HbView; |
41 class HbView; |
42 class HbAction; |
42 class HbAction; |
43 class QAction; |
43 class QAction; |
44 class HbMenu; |
44 class HbMenu; |
45 class XQAiwRequest; |
45 class XQAiwRequest; |
|
46 class CntSaveManager; |
46 |
47 |
47 QTM_BEGIN_NAMESPACE |
48 QTM_BEGIN_NAMESPACE |
48 class QContact; |
49 class QContact; |
49 class QContactDetail; |
50 class QContactDetail; |
50 class QContactId; |
51 class QContactId; |
74 void longPressed( HbAbstractViewItem *item, const QPointF &coords ); |
75 void longPressed( HbAbstractViewItem *item, const QPointF &coords ); |
75 |
76 |
76 void addDetailItem(); |
77 void addDetailItem(); |
77 void handleAddDetailItem(HbAction *aAction); |
78 void handleAddDetailItem(HbAction *aAction); |
78 void deleteContact(); |
79 void deleteContact(); |
79 void handleDeleteContact(HbAction *action); |
80 void handleDeleteContact(int action); |
80 void discardChanges(); |
81 void discardChanges(); |
81 void saveChanges(); |
82 void saveChanges(); |
82 |
83 |
83 void openNameEditor(); |
84 void openNameEditor(); |
84 void openImageEditor(); |
85 void openImageEditor(); |
87 void handleMenuAction( HbAction* aAction ); |
88 void handleMenuAction( HbAction* aAction ); |
88 void setScrollPosition(); |
89 void setScrollPosition(); |
89 void ringToneFetchHandleError(int errorCode, const QString& errorMessage); |
90 void ringToneFetchHandleError(int errorCode, const QString& errorMessage); |
90 void ringToneFetchHandleOk(const QVariant &result); |
91 void ringToneFetchHandleOk(const QVariant &result); |
91 |
92 |
92 |
|
93 private: |
93 private: |
94 void loadAvatar(); |
94 void loadAvatar(); |
95 HbMenu* createPopup( const QModelIndex aIndex, CntEditViewItem* aDetail ); |
95 HbMenu* createPopup( const QModelIndex aIndex, CntEditViewItem* aDetail ); |
96 void addDetail( CntEditViewItem* aDetail ); |
96 void addDetail( CntEditViewItem* aDetail ); |
97 void editDetail( CntEditViewItem* aDetail ); |
97 void editDetail( CntEditViewItem* aDetail ); |
98 void removeDetail( CntEditViewItem* aDetail, const QModelIndex& aIndex ); |
98 void removeDetail( CntEditViewItem* aDetail, const QModelIndex& aIndex ); |
99 void setSelectedContact( QContact aContact ); |
99 void setSelectedContact( QContact aContact ); |
100 void setPreferredDetails( QContact* aContact ); |
|
101 void fetchTone(); |
100 void fetchTone(); |
102 void changeEditorView(); |
101 void changeEditorView(); |
103 |
102 |
104 public: |
103 public: |
105 HbView* mView; |
104 HbView* mView; |
126 |
125 |
127 private: |
126 private: |
128 XQAiwRequest* mReq; |
127 XQAiwRequest* mReq; |
129 XQApplicationManager mAppMgr; |
128 XQApplicationManager mAppMgr; |
130 HbMenu *mMenu; |
129 HbMenu *mMenu; |
|
130 CntSaveManager* mSaveManager; // own |
131 |
131 |
132 }; |
132 }; |
133 #endif /* CNTEDITVIEW_P_H_ */ |
133 #endif /* CNTEDITVIEW_P_H_ */ |