filemanager/src/filemanager/src/operationservice/fmoperationservice.cpp
changeset 25 b7bfdea70ca2
parent 16 ada7962b4308
child 32 39cf9ced4cc4
equal deleted inserted replaced
16:ada7962b4308 25:b7bfdea70ca2
    27 #include "fmoperationmove.h"
    27 #include "fmoperationmove.h"
    28 #include "fmoperationremove.h"
    28 #include "fmoperationremove.h"
    29 #include "fmoperationformat.h"
    29 #include "fmoperationformat.h"
    30 
    30 
    31 #include <hbaction.h>
    31 #include <hbaction.h>
    32 #include <hbmessagebox.h>
       
    33 
    32 
    34 FmOperationService::FmOperationService( QObject *parent ) : QObject( parent ),
    33 FmOperationService::FmOperationService( QObject *parent ) : QObject( parent ),
    35         mCurrentOperation( 0 )
    34         mCurrentOperation( 0 )
    36 {
    35 {
    37     mThread = new FmOperationThread( this );
    36     mThread = new FmOperationThread( this );
   291 
   290 
   292 void FmOperationService::on_operationThread_refreshModel( const QString &path )
   291 void FmOperationService::on_operationThread_refreshModel( const QString &path )
   293 {
   292 {
   294     emit refreshModel( mCurrentOperation, path );
   293     emit refreshModel( mCurrentOperation, path );
   295 }
   294 }
       
   295 void FmOperationService::on_operationThread_showNote( const char *noteString )
       
   296 {
       
   297     mOperationResultProcesser->onShowNote( mCurrentOperation, noteString );
       
   298 }
   296 void FmOperationService::on_operationThread_notifyWaiting( bool cancelable )
   299 void FmOperationService::on_operationThread_notifyWaiting( bool cancelable )
   297 {
   300 {
   298     mOperationResultProcesser->onNotifyWaiting(
   301     mOperationResultProcesser->onNotifyWaiting(
   299         mCurrentOperation, cancelable );
   302         mCurrentOperation, cancelable );
   300     emit notifyWaiting( mCurrentOperation, cancelable );
   303     emit notifyWaiting( mCurrentOperation, cancelable );