58 |
58 |
59 void createNewContact(); |
59 void createNewContact(); |
60 void deleteContact( QContact& aContact ); |
60 void deleteContact( QContact& aContact ); |
61 void deleteMultipleContacts(); |
61 void deleteMultipleContacts(); |
62 |
62 |
63 void handleDeleteMultipleContacts(); |
63 void handleDeleteMultipleContacts( QSet<QContactLocalId> aIds ); |
64 |
64 |
65 void showPreviousView(); |
65 void showPreviousView(); |
66 void showCollectionView(); |
66 void showCollectionView(); |
67 void showContactView( QContact& aContact ); |
67 void showContactView( QContact& aContact ); |
68 void showContactView( const QModelIndex& ); |
68 void showContactView( const QModelIndex& ); |
69 void showContactEditorView( QContact& aContact ); |
69 void showContactEditorView( QContact& aContact ); |
70 void showContextMenu(HbAbstractViewItem* aItem, QPointF aPoint); |
70 void showContextMenu(HbAbstractViewItem* aItem, QPointF aPoint); |
71 void showSettings(); |
71 void showSettings(); |
72 |
72 |
73 void executeAction( QContact& aContact, QContactDetail aDetail, QString aAction ); |
73 void executeAction( QContact& aContact, QContactDetail aDetail, QString aAction ); |
74 void actionExecuted( CntActionLauncher* aAction ); |
74 void actionExecuted( CntActionLauncher* aAction ); |
75 void handleDeleteContact( HbAction* aAction ); |
75 void handleDeleteContact( int aAction ); |
76 void importSim(); |
76 void importSim(); |
77 |
77 |
78 void handleContactAddition(const QList<QContactLocalId> & aAddedList); |
78 void handleContactAddition(const QList<QContactLocalId> & aAddedList); |
79 void handleContactRemoval(const QList<QContactLocalId> & aRemovedList); |
79 void handleContactRemoval(const QList<QContactLocalId> & aRemovedList); |
80 void handleSelfContactIdChange(const QContactLocalId & aOldId, const QContactLocalId & aNewId); |
80 void handleSelfContactIdChange(const QContactLocalId & aOldId, const QContactLocalId & aNewId); |
|
81 |
|
82 private slots: |
|
83 void switchOrientation(); |
81 |
84 |
82 public: |
85 public: |
83 bool isFinderVisible(); |
86 bool isFinderVisible(); |
84 void activate( CntAbstractViewManager* aMgr, const CntViewParameters aArgs ); |
87 void activate( CntAbstractViewManager* aMgr, const CntViewParameters aArgs ); |
85 void deactivate(); |
88 void deactivate(); |
112 CntActionMenuBuilder* mMenuBuilder; |
115 CntActionMenuBuilder* mMenuBuilder; |
113 HbAction* mImportSim; |
116 HbAction* mImportSim; |
114 HbAction* mNewContact; |
117 HbAction* mNewContact; |
115 QContactLocalId mHandledContactId; |
118 QContactLocalId mHandledContactId; |
116 HbAction* mMultipleDeleter; |
119 HbAction* mMultipleDeleter; |
117 CntFetchContacts* mFetchView; |
|
118 bool mIsDefault; |
120 bool mIsDefault; |
119 int mId; |
121 int mId; |
120 QActionGroup* mActionGroup; |
122 QActionGroup* mActionGroup; |
121 HbMenu* mMenu; |
123 HbMenu* mMenu; |
122 bool mFilterChanged; |
124 bool mFilterChanged; |