91 QContactManager* contactManager(); |
91 QContactManager* contactManager(); |
92 |
92 |
93 signals: |
93 signals: |
94 void preferredUpdated(); |
94 void preferredUpdated(); |
95 void backPressed(); |
95 void backPressed(); |
96 void viewActivated(QContact, QContactDetail); |
96 void viewActivated(CntAbstractViewManager* aMgr, const CntViewParameters aArgs); |
97 |
97 |
98 protected: |
98 protected: |
99 bool eventFilter(QObject *obj, QEvent *event); |
99 bool eventFilter(QObject *obj, QEvent *event); |
100 |
100 |
101 #ifdef PBK_UNIT_TEST |
101 #ifdef PBK_UNIT_TEST |
102 public: |
102 public: |
103 #else |
103 #else |
104 private: |
104 private: |
105 #endif |
105 #endif |
106 void launchAction(QContact contact, QContactDetail detail, QString action); |
106 void launchAction(QContact contact, QContactDetail detail, QString action); |
107 //bool createVCard(QString& vCardPath); |
107 void launchDynamicAction(QContact contact, QContactDetail detail, QContactActionDescriptor actionDescriptor); |
108 bool isFavoriteGroupContact(); |
|
109 bool isFavoriteGroupCreated(); |
|
110 |
108 |
111 #ifdef PBK_UNIT_TEST |
109 #ifdef PBK_UNIT_TEST |
112 public: |
110 public: |
113 #else |
111 #else |
114 private: |
112 private: |
121 QContact *mContact; |
119 QContact *mContact; |
122 QGraphicsWidget *mDetailsWidget; |
120 QGraphicsWidget *mDetailsWidget; |
123 CntContactCardDataContainer *mDataContainer; |
121 CntContactCardDataContainer *mDataContainer; |
124 CntContactCardHeadingItem *mHeadingItem; |
122 CntContactCardHeadingItem *mHeadingItem; |
125 ThumbnailManager *mThumbnailManager; |
123 ThumbnailManager *mThumbnailManager; |
126 QContact *mGroupContact; |
124 //QContact *mGroupContact; |
127 QContactAvatar *mAvatar; |
125 QContactAvatar *mAvatar; |
128 bool mIsGroupMember; |
126 //bool mIsGroupMember; |
129 bool mIsHandlingMenu; |
127 bool mIsHandlingMenu; |
130 bool mIsPreviousImageEditorView; |
128 //bool mIsPreviousImageEditorView; |
131 QMap<QString, CntContactCardDetailItem*> mPreferredItems; |
129 QMap<QString, CntContactCardDetailItem*> mPreferredItems; |
132 int mFavoriteGroupId; |
130 int mFavoriteGroupId; |
133 CntDocumentLoader *mLoader; |
131 CntDocumentLoader *mLoader; |
134 QContactAction *mContactAction; |
132 QContactAction *mContactAction; |
135 HbAction *mBackKey; |
133 HbAction *mBackKey; |
136 CntImageLabel *mImageLabel; |
134 CntImageLabel *mImageLabel; |
137 XQServiceRequest *mHighwayService; |
135 XQServiceRequest *mHighwayService; |
138 HbIcon *mVCardIcon; |
136 HbIcon *mVCardIcon; |
|
137 CntViewParameters mArgs; |
139 |
138 |
140 }; |
139 }; |
141 |
140 |
142 #endif // CNTCOMMLAUNCHERVIEW_H |
141 #endif // CNTCOMMLAUNCHERVIEW_H |
143 |
142 |