filebrowser/ui/src/enginewrapper.cpp
changeset 24 6053b7ae82ab
parent 17 4f2773374eff
child 25 31fc1277642e
equal deleted inserted replaced
17:4f2773374eff 24:6053b7ae82ab
   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 
       
   694 // ---------------------------------------------------------------------------
   689 // ---------------------------------------------------------------------------
   695 // Functions that are called from engine
   690 // Functions that are called from engine
   696 // ---------------------------------------------------------------------------
   691 // ---------------------------------------------------------------------------
   697 
   692 
   698 // ---------------------------------------------------------------------------
   693 // ---------------------------------------------------------------------------
   703     Notifications::showErrorNote(qStringText, aNoTimeout);
   698     Notifications::showErrorNote(qStringText, aNoTimeout);
   704 }
   699 }
   705 
   700 
   706 // ---------------------------------------------------------------------------
   701 // ---------------------------------------------------------------------------
   707 
   702 
   708 void EngineWrapper::ShowInformationNote(const TDesC &aDescText, const TDesC &aDescTitle)
   703 void EngineWrapper::ShowInformationNote(const TDesC& aDescText)
   709 {
   704 {
   710     QString qText = QString::fromUtf16(aDescText.Ptr(), aDescText.Length());
   705     QString qStringText = QString::fromUtf16(aDescText.Ptr(), aDescText.Length());
   711     QString qTitle = QString::fromUtf16(aDescTitle.Ptr(), aDescTitle.Length());
   706     Notifications::showInformationNote(qStringText);
   712     Notifications::showInformationNote(qText, qTitle);
       
   713 }
   707 }
   714 
   708 
   715 // ---------------------------------------------------------------------------
   709 // ---------------------------------------------------------------------------
   716 
   710 
   717 void EngineWrapper::ShowConfirmationNote(const TDesC& aDescText, TBool aNoTimeout /*= EFalse*/)
   711 void EngineWrapper::ShowConfirmationNote(const TDesC& aDescText, TBool aNoTimeout /*= EFalse*/)