equal
deleted
inserted
replaced
27 #include <hblineedit.h> |
27 #include <hblineedit.h> |
28 #include <hbinputeditorinterface.h> |
28 #include <hbinputeditorinterface.h> |
29 #include <hbinputstandardfilters.h> |
29 #include <hbinputstandardfilters.h> |
30 #include <hbinputfilter.h> |
30 #include <hbinputfilter.h> |
31 #include <hblistwidget.h> |
31 #include <hblistwidget.h> |
|
32 #include <hbnotificationdialog.h> |
32 #include <dialogwaiter.h> |
33 #include <dialogwaiter.h> |
33 |
34 |
34 #include <cvoicemailboxentry.h> |
35 #include <cvoicemailboxentry.h> |
35 #include <cvoicemailbox.h> |
36 #include <cvoicemailbox.h> |
36 |
37 |
165 disconnect(iQueryDialog->lineEdit(), SIGNAL(textChanged(QString)), |
166 disconnect(iQueryDialog->lineEdit(), SIGNAL(textChanged(QString)), |
166 this, SLOT(updatePrimaryAction(QString))); |
167 this, SLOT(updatePrimaryAction(QString))); |
167 |
168 |
168 |
169 |
169 // TODO Delete Operation will case panic on EM |
170 // TODO Delete Operation will case panic on EM |
|
171 |
|
172 #ifdef __WINS__ |
|
173 iQueryDialog->close(); |
|
174 #else |
170 delete iQueryDialog; |
175 delete iQueryDialog; |
171 iQueryDialog = 0; |
176 iQueryDialog = 0; |
172 |
177 #endif // __WINS__ |
|
178 |
173 VMBLOGSTRING2("VmbxQtUiHandler::showVmbxQueryDialog aResult = %d", aResult) |
179 VMBLOGSTRING2("VmbxQtUiHandler::showVmbxQueryDialog aResult = %d", aResult) |
174 VMBLOGSTRING("VmbxQtUiHandler::showVmbxQueryDialog Exit") |
180 VMBLOGSTRING("VmbxQtUiHandler::showVmbxQueryDialog Exit") |
175 } |
181 } |
176 |
182 |
177 // ---------------------------------------------------------------------------- |
183 // ---------------------------------------------------------------------------- |
227 } |
233 } |
228 VMBLOGSTRING2("VmbxQtUiHandler::showDefineSelectionDialog: aType%d", aType) |
234 VMBLOGSTRING2("VmbxQtUiHandler::showDefineSelectionDialog: aType%d", aType) |
229 VMBLOGSTRING2("VmbxQtUiHandler::showDefineSelectionDialog: aResult%d", \ |
235 VMBLOGSTRING2("VmbxQtUiHandler::showDefineSelectionDialog: aResult%d", \ |
230 aResult) |
236 aResult) |
231 |
237 |
232 |
238 #ifdef __WINS__ |
233 // TODO Delete Operation will case panic on EM |
239 defineListDialog->close(); |
|
240 #else |
234 delete defineListDialog; |
241 delete defineListDialog; |
235 defineListDialog = 0; |
242 defineListDialog = 0; |
236 |
243 #endif // __WINS__ |
|
244 |
237 VMBLOGSTRING("VmbxQtUiHandler::showDefineSelectionDialog Exit") |
245 VMBLOGSTRING("VmbxQtUiHandler::showDefineSelectionDialog Exit") |
238 } |
246 } |
239 |
247 |
240 // ---------------------------------------------------------------------------- |
248 // ---------------------------------------------------------------------------- |
241 // VmbxQtUiHandler::showCallSelectionDialog |
249 // VmbxQtUiHandler::showCallSelectionDialog |
327 } |
335 } |
328 VMBLOGSTRING2("VmbxQtUiHandler::showCallSelectionDialog: params.iType %d", |
336 VMBLOGSTRING2("VmbxQtUiHandler::showCallSelectionDialog: params.iType %d", |
329 params.iType) |
337 params.iType) |
330 VMBLOGSTRING2("VmbxQtUiHandler::showCallSelectionDialog: result%d", |
338 VMBLOGSTRING2("VmbxQtUiHandler::showCallSelectionDialog: result%d", |
331 result) |
339 result) |
|
340 |
|
341 #ifdef __WINS__ |
|
342 callListDialog->close(); |
|
343 #else |
332 delete callListDialog; |
344 delete callListDialog; |
333 callListDialog = 0; |
345 callListDialog = 0; |
|
346 #endif // __WINS__ |
334 VMBLOGSTRING("VmbxQtUiHandler::showCallSelectionDialog Exit") |
347 VMBLOGSTRING("VmbxQtUiHandler::showCallSelectionDialog Exit") |
335 } |
348 } |
336 |
349 |
337 // ---------------------------------------------------------------------------- |
350 // ---------------------------------------------------------------------------- |
338 // VmbxQtUiHandler::showInformationNote |
351 // VmbxQtUiHandler::showInformationNote |
372 break; |
385 break; |
373 default: |
386 default: |
374 VMBLOGSTRING("VmbxQtUiHandler::ShowInformationNote default") |
387 VMBLOGSTRING("VmbxQtUiHandler::ShowInformationNote default") |
375 break; |
388 break; |
376 } |
389 } |
377 HbMessageBox *msgBox = 0; |
390 HbNotificationDialog::launchDialog(noteText); |
378 if (EInvalidNumber == aType) { |
|
379 msgBox = new HbMessageBox(HbMessageBox::MessageTypeWarning); |
|
380 } else { |
|
381 msgBox = new HbMessageBox(HbMessageBox::MessageTypeInformation); |
|
382 } |
|
383 msgBox->setText(noteText); |
|
384 msgBox->setTimeout( HbDialog::StandardTimeout ); |
|
385 msgBox->clearActions(); |
|
386 DialogWaiter waiter; |
|
387 msgBox->open(&waiter, SLOT(done(HbAction *))); |
|
388 waiter.wait(); |
|
389 delete msgBox; |
|
390 msgBox = 0; |
|
391 VMBLOGSTRING("VmbxQtUiHandler::showInformationNote Exit") |
391 VMBLOGSTRING("VmbxQtUiHandler::showInformationNote Exit") |
392 } |
392 } |
393 |
393 |
394 // ---------------------------------------------------------------------------- |
394 // ---------------------------------------------------------------------------- |
395 // VmbxQtUiHandler::updatePrimaryAction |
395 // VmbxQtUiHandler::updatePrimaryAction |