equal
deleted
inserted
replaced
40 // USER INCLUDES |
40 // USER INCLUDES |
41 #include "conversationsenginedefines.h" |
41 #include "conversationsenginedefines.h" |
42 #include "conversationsengine.h" |
42 #include "conversationsengine.h" |
43 #include "convergedmessage.h" |
43 #include "convergedmessage.h" |
44 #include "msgcontacthandler.h" |
44 #include "msgcontacthandler.h" |
|
45 #include "msgsendutil.h" |
45 |
46 |
46 // LOCAL CONSTANTS |
47 // LOCAL CONSTANTS |
47 const QString DEFAULT_AVATAR_ICON("qtg_large_avatar"); |
48 const QString DEFAULT_AVATAR_ICON("qtg_large_avatar"); |
48 const QString BT_ICON("qtg_large_bluetooth"); |
49 const QString BT_ICON("qtg_large_bluetooth"); |
49 const QString BG_FRAME_NORMAL("qtg_fr_groupbox_normal"); |
50 const QString BG_FRAME_NORMAL("qtg_fr_groupbox_normal"); |
223 setAddress(""); |
224 setAddress(""); |
224 setAvatar(HbIcon()); |
225 setAvatar(HbIcon()); |
225 } |
226 } |
226 |
227 |
227 //--------------------------------------------------------------- |
228 //--------------------------------------------------------------- |
|
229 // MsgContactCardWidget::isValidAddress |
|
230 // @see header file |
|
231 //--------------------------------------------------------------- |
|
232 bool MsgContactCardWidget::isValidAddress() |
|
233 { |
|
234 QScopedPointer<MsgSendUtil> sendUtil(new MsgSendUtil()); |
|
235 return sendUtil->isValidAddress(mContactNumber); |
|
236 } |
|
237 |
|
238 //--------------------------------------------------------------- |
228 // MsgContactCardWidget::gestureEvent |
239 // MsgContactCardWidget::gestureEvent |
229 // @see header file |
240 // @see header file |
230 //--------------------------------------------------------------- |
241 //--------------------------------------------------------------- |
231 void MsgContactCardWidget::gestureEvent(QGestureEvent *event) |
242 void MsgContactCardWidget::gestureEvent(QGestureEvent *event) |
232 { |
243 { |