filemanager/src/filemanager/src/operationservice/fmoperationthread.h
changeset 16 ada7962b4308
parent 14 1957042d8c7e
child 21 15299bc55001
child 25 b7bfdea70ca2
child 37 15bc28c9dd51
equal deleted inserted replaced
14:1957042d8c7e 16:ada7962b4308
    50     int asyncViewFolderDetails( FmOperationBase *operationBase );
    50     int asyncViewFolderDetails( FmOperationBase *operationBase );
    51     void stop();
    51     void stop();
    52 
    52 
    53 signals:
    53 signals:
    54     void askForRename( const QString &srcFile, QString *destFile );
    54     void askForRename( const QString &srcFile, QString *destFile );
       
    55     void askForReplace( const QString &srcFile, const QString &destFile, bool *isAccepted );
    55     void refreshModel( const QString &path );
    56     void refreshModel( const QString &path );
    56 
    57 
    57     void notifyWaiting( bool cancelable );
    58     void notifyWaiting( bool cancelable );
    58     void notifyPreparing( bool cancelable );      // this step could not be used if not needed.
    59     void notifyPreparing( bool cancelable );      // this step could not be used if not needed.
    59     void notifyStart( bool cancelable, int maxSteps );
    60     void notifyStart( bool cancelable, int maxSteps );
    63     void notifyError(int error, QString errString ); 
    64     void notifyError(int error, QString errString ); 
    64     void notifyCanceled(); 
    65     void notifyCanceled(); 
    65 
    66 
    66 private slots:
    67 private slots:
    67     void onAskForRename( const QString &srcFile, QString *destFile );
    68     void onAskForRename( const QString &srcFile, QString *destFile );
       
    69     void onAskForReplace( const QString &srcFile, const QString &destFile, bool *isAccepted );
    68     void on_operationElement_notifyPreparing( bool cancelable );
    70     void on_operationElement_notifyPreparing( bool cancelable );
    69     void on_operationElement_notifyStart( bool cancelable, int maxSteps );
    71     void on_operationElement_notifyStart( bool cancelable, int maxSteps );
    70     void on_operationElement_notifyProgress( int currentStep );
    72     void on_operationElement_notifyProgress( int currentStep );
    71 
    73 
    72 protected:
    74 protected: