equal
deleted
inserted
replaced
41 const QString KScanProgressDialog = QString( "ScanProgressDialog" ); |
41 const QString KScanProgressDialog = QString( "ScanProgressDialog" ); |
42 const QString KDiskFullDialog = QString( "DiskFullDialog" ); |
42 const QString KDiskFullDialog = QString( "DiskFullDialog" ); |
43 const QString KScanFinished = QString( "ScanFinishedDialog" ); |
43 const QString KScanFinished = QString( "ScanFinishedDialog" ); |
44 const QString KUnableToContinueDueUSB = QString( "UnableToContinueDueUSB" ); |
44 const QString KUnableToContinueDueUSB = QString( "UnableToContinueDueUSB" ); |
45 const QString KUsbBlockingNote = QString( "UsbBlockingNote" ); |
45 const QString KUsbBlockingNote = QString( "UsbBlockingNote" ); |
46 const QString KPromptRefresh = QString( "PromptRefresh" ); |
|
47 const QString KMTPInfoDialog = QString( "MTPInfoDialog" ); |
46 const QString KMTPInfoDialog = QString( "MTPInfoDialog" ); |
48 |
47 |
49 // Popups Actions |
48 // Popups Actions |
50 const QString KYes = QString( "yes" ); |
49 const QString KYes = QString( "yes" ); |
51 const QString KNo = QString( "no" ); |
50 const QString KNo = QString( "no" ); |
315 Launches DiskFull Notification |
314 Launches DiskFull Notification |
316 */ |
315 */ |
317 void MpGlobalPopupHandler::launchDiskFullDialog() |
316 void MpGlobalPopupHandler::launchDiskFullDialog() |
318 { |
317 { |
319 TX_ENTRY |
318 TX_ENTRY |
320 QString diskfull; |
|
321 diskfull = hbTrId( "txt_mus_title_refresh_cancelled" ); |
|
322 diskfull.append(" "); |
|
323 diskfull.append( hbTrId( "txt_mus_info_out_of_disk_space" ) ); |
|
324 HbMessageBox *diskFullDialog = new HbMessageBox(); |
319 HbMessageBox *diskFullDialog = new HbMessageBox(); |
325 diskFullDialog->setIcon( HbIcon( QString("qtg_small_fail") ) ); |
320 diskFullDialog->setIcon( HbIcon( QString("qtg_small_fail") ) ); |
326 diskFullDialog->setText( diskfull ); |
321 diskFullDialog->setText( hbTrId( "txt_mus_info_out_of_disk_space" ) ); |
327 diskFullDialog->setTimeout( HbPopup::NoTimeout); |
322 diskFullDialog->setTimeout( HbPopup::NoTimeout); |
328 diskFullDialog->setAttribute( Qt::WA_DeleteOnClose ); |
323 diskFullDialog->setAttribute( Qt::WA_DeleteOnClose ); |
329 diskFullDialog->setObjectName( KDiskFullDialog ); |
324 diskFullDialog->setObjectName( KDiskFullDialog ); |
330 setOutstandingPopup( diskFullDialog ); |
325 setOutstandingPopup( diskFullDialog ); |
331 diskFullDialog->show(); |
326 diskFullDialog->show(); |