filemanager/src/filemanager/src/components/fmdlgutils.cpp
changeset 47 12b82dc0e8db
parent 33 328cf6fbe40c
equal deleted inserted replaced
40:4167eb56f30d 47:12b82dc0e8db
   433     return msgBox.question( questionText, buttons );
   433     return msgBox.question( questionText, buttons );
   434 }
   434 }
   435 
   435 
   436 /*!
   436 /*!
   437     This is a convenience function for showing an information dialog with \a informationText
   437     This is a convenience function for showing an information dialog with \a informationText
   438     Default button is OK.
   438     Default button is OK, default behavior is not blocking ui..
   439 */
   439 */
   440 void FmDlgUtils::information( const QString &informationText,
   440 void FmDlgUtils::information( const QString &informationText,
   441     HbMessageBox::StandardButtons buttons )
   441     HbMessageBox::StandardButtons buttons, bool isBlocking )
   442 {
   442 {
   443     FmMessageBox msgBox;
   443     FmMessageBox msgBox;
   444     return msgBox.information( informationText, buttons );
   444     return msgBox.information( informationText, buttons, isBlocking );
       
   445 }
       
   446 
       
   447 /*!
       
   448     This is a convenience function for showing an warning dialog with \a warningText
       
   449     Default button is OK, default behavior is blocking ui.
       
   450 */
       
   451 void FmDlgUtils::warning( const QString &warningText,
       
   452     HbMessageBox::StandardButtons buttons, bool isBlocking )
       
   453 {
       
   454     FmMessageBox msgBox;
       
   455     return msgBox.warning( warningText, buttons, isBlocking );
   445 }
   456 }
   446 
   457 
   447 /*!
   458 /*!
   448     Shows query dialog for select backup drive
   459     Shows query dialog for select backup drive
   449     \a title used for title text
   460     \a title used for title text