filebrowser/ui/src/enginewrapper.cpp
changeset 25 31fc1277642e
parent 24 6053b7ae82ab
child 27 271e901a9423
equal deleted inserted replaced
24:6053b7ae82ab 25:31fc1277642e
   684 void EngineWrapper::toolsSetDebugMask(quint32 aDbgMask)
   684 void EngineWrapper::toolsSetDebugMask(quint32 aDbgMask)
   685 {
   685 {
   686     mEngine->FileUtils()->SetDebugMaskL(aDbgMask);
   686     mEngine->FileUtils()->SetDebugMaskL(aDbgMask);
   687 }
   687 }
   688 
   688 
       
   689 void EngineWrapper::showFileCheckSums(const QModelIndex &aIndex, TFileBrowserCmdFileChecksums checksumType)
       
   690 {
       
   691     mEngine->FileUtils()->ShowFileCheckSumsL(aIndex.row(), checksumType);
       
   692 }
       
   693 
   689 // ---------------------------------------------------------------------------
   694 // ---------------------------------------------------------------------------
   690 // Functions that are called from engine
   695 // Functions that are called from engine
   691 // ---------------------------------------------------------------------------
   696 // ---------------------------------------------------------------------------
   692 
   697 
   693 // ---------------------------------------------------------------------------
   698 // ---------------------------------------------------------------------------
   698     Notifications::showErrorNote(qStringText, aNoTimeout);
   703     Notifications::showErrorNote(qStringText, aNoTimeout);
   699 }
   704 }
   700 
   705 
   701 // ---------------------------------------------------------------------------
   706 // ---------------------------------------------------------------------------
   702 
   707 
   703 void EngineWrapper::ShowInformationNote(const TDesC& aDescText)
   708 void EngineWrapper::ShowInformationNote(const TDesC &aDescText, const TDesC &aDescTitle)
   704 {
   709 {
   705     QString qStringText = QString::fromUtf16(aDescText.Ptr(), aDescText.Length());
   710     QString qText = QString::fromUtf16(aDescText.Ptr(), aDescText.Length());
   706     Notifications::showInformationNote(qStringText);
   711     QString qTitle = QString::fromUtf16(aDescTitle.Ptr(), aDescTitle.Length());
       
   712     Notifications::showInformationNote(qText, qTitle);
   707 }
   713 }
   708 
   714 
   709 // ---------------------------------------------------------------------------
   715 // ---------------------------------------------------------------------------
   710 
   716 
   711 void EngineWrapper::ShowConfirmationNote(const TDesC& aDescText, TBool aNoTimeout /*= EFalse*/)
   717 void EngineWrapper::ShowConfirmationNote(const TDesC& aDescText, TBool aNoTimeout /*= EFalse*/)