equal
deleted
inserted
replaced
33 #include "univiewerutils.h" |
33 #include "univiewerutils.h" |
34 #include "unidatamodelplugininterface.h" |
34 #include "unidatamodelplugininterface.h" |
35 |
35 |
36 // LOCAL CONSTANTS |
36 // LOCAL CONSTANTS |
37 #define LOC_OPEN hbTrId("txt_common_menu_open") |
37 #define LOC_OPEN hbTrId("txt_common_menu_open") |
38 #define LOC_SAVE hbTrId("txt_common_menu_save") |
|
39 #define LOC_SAVE_TO_CONTACTS hbTrId("txt_messaging_menu_save_to_contacts") |
38 #define LOC_SAVE_TO_CONTACTS hbTrId("txt_messaging_menu_save_to_contacts") |
40 |
39 |
41 const QString BG_FRAME_NORMAL("qtg_fr_list_normal"); |
40 const QString BG_FRAME_NORMAL("qtg_fr_list_normal"); |
42 const QString BG_FRAME_PRESSED("qtg_fr_list_pressed"); |
41 const QString BG_FRAME_PRESSED("qtg_fr_list_pressed"); |
43 const QString ATTACHMENT_ICON("qtg_small_attachment"); |
42 const QString ATTACHMENT_ICON("qtg_small_attachment"); |
179 |
178 |
180 //fire timer to regrab gesture after some delay. |
179 //fire timer to regrab gesture after some delay. |
181 QTimer::singleShot(300,this,SLOT(regrabGesture())); |
180 QTimer::singleShot(300,this,SLOT(regrabGesture())); |
182 } |
181 } |
183 |
182 |
184 //---------------------------------------------------------------------------- |
183 |
185 // UniViewerAttachmentWidget::handleSave |
|
186 // @see header file |
|
187 //---------------------------------------------------------------------------- |
|
188 void UniViewerAttachmentWidget::handleSave() |
|
189 { |
|
190 |
|
191 } |
|
192 |
184 |
193 //---------------------------------------------------------------------------- |
185 //---------------------------------------------------------------------------- |
194 // UniViewerAttachmentWidget::handleShortTap |
186 // UniViewerAttachmentWidget::handleShortTap |
195 // @see header file |
187 // @see header file |
196 //---------------------------------------------------------------------------- |
188 //---------------------------------------------------------------------------- |
219 // For vcard opening & saving is same. |
211 // For vcard opening & saving is same. |
220 menu->addAction(LOC_SAVE_TO_CONTACTS, this, SLOT(handleOpen())); |
212 menu->addAction(LOC_SAVE_TO_CONTACTS, this, SLOT(handleOpen())); |
221 } |
213 } |
222 else { |
214 else { |
223 menu->addAction(LOC_OPEN, this, SLOT(handleOpen())); |
215 menu->addAction(LOC_OPEN, this, SLOT(handleOpen())); |
224 menu->addAction(LOC_SAVE, this, SLOT(handleSave())); |
216 |
225 } |
217 } |
226 |
218 |
227 menu->show(); |
219 menu->show(); |
228 } |
220 } |
229 |
221 |