Class sh::scripting::api::ApiFilesystemOperationProgressMonitor¶
-
class
sh::scripting::api
::
ApiFilesystemOperationProgressMonitor
: public sh::filesystem::FilesystemOperationProgressMonitor¶ Public Functions
-
ApiFilesystemOperationProgressMonitor
(sh::actions::ActionExecutionInfo *actionExecution)¶
-
bool
hasItemInfo
()¶ Checks if this progress monitor provides information about how many items of a certain total number are transferred so far.
-
quint64
doneItems
()¶ Checks how many items are transferred so far.
-
quint64
allItems
()¶ Checks how many items are to be transferred in total (as predicted in the current moment).
-
bool
hasBytesInfo
()¶ Checks if this progress monitor provides information about how many byte of a certain total number are transferred so far.
-
quint64
doneBytes
()¶ Checks how many bytes are transferred so far.
-
quint64
allBytes
()¶ Checks how many bytes are to be transferred in total (as predicted in the current moment).
-
QString
getItemInfoFrom
()¶ Returns the current source of transfer (as textual information).
-
QString
getItemInfoTo
()¶ Returns the current destination of transfer (as textual information).
-
QString
estimation
()¶ Returns the current performance and time estimation (as textual information).
Public Members
-
std::function<void()>
_changed
¶
-
std::function<bool(QList<sh::filesystem::FilesystemOperationTransfers::OperationStep*>)>
_resolveConflicts
¶
-