High-level helper class to asynchronously and recursively copy directories with progress indicator.
More...
#include <asynccopyoperation.h>
Inherits QThread.
|
void | run () noexcept override |
|
High-level helper class to asynchronously and recursively copy directories with progress indicator.
◆ AsyncCopyOperation() [1/3]
◆ AsyncCopyOperation() [2/3]
◆ AsyncCopyOperation() [3/3]
◆ ~AsyncCopyOperation()
◆ getSource()
◆ getDestination()
const FilePath & getDestination |
( |
| ) |
const |
|
inlinenoexcept |
◆ abort()
Abort a running copy operation.
If the copy operation was not finished yet, it is completely reverted, i.e. the destination will be deleted to revert to the state as before starting the copy operation.
- Note
- This calls QThread::wait() so the calling thread blocks until the operation is completely aborted. If no copy operation is running, this method has no effect.
◆ operator=()
◆ started
◆ progressStatus
void progressStatus |
( |
const QString & |
status | ) |
|
|
signal |
◆ progressPercent
void progressPercent |
( |
int |
percent | ) |
|
|
signal |
◆ succeeded
◆ failed
void failed |
( |
const QString & |
error | ) |
|
|
signal |
◆ finished
◆ run()
◆ mSource
◆ mDestination
◆ mAbort
The documentation for this class was generated from the following files: