Changeset View
Changeset View
Standalone View
Standalone View
src/core/copyjob.h
Context not available. | |||||
130 | void setWriteIntoExistingDirectories(bool overwriteAllDirs); | 130 | void setWriteIntoExistingDirectories(bool overwriteAllDirs); | ||
---|---|---|---|---|---|
131 | 131 | | |||
132 | /** | 132 | /** | ||
133 | * Reimplemented to do a proper cleanup of partially copied files. | ||||
134 | */ | ||||
135 | bool doKill() Q_DECL_OVERRIDE; | ||||
136 | | ||||
137 | /** | ||||
133 | * Reimplemented for internal reasons | 138 | * Reimplemented for internal reasons | ||
134 | */ | 139 | */ | ||
135 | bool doSuspend() Q_DECL_OVERRIDE; | 140 | bool doSuspend() Q_DECL_OVERRIDE; | ||
Context not available. | |||||
286 | * | 291 | * | ||
287 | * @param src the file or directory to copy | 292 | * @param src the file or directory to copy | ||
288 | * @param dest the destination | 293 | * @param dest the destination | ||
289 | * @param flags copy() supports HideProgressInfo and Overwrite. | 294 | * @param flags copy() supports HideProgressInfo, Overwrite and NoCancelCleanup. | ||
290 | * Note: Overwrite has the meaning of both "write into existing directories" and | 295 | * Note: Overwrite has the meaning of both "write into existing directories" and | ||
291 | * "overwrite existing files". However if "dest" exists, then src is copied | 296 | * "overwrite existing files". However if "dest" exists, then src is copied | ||
292 | * into a subdir of dest, just like "cp" does. Use copyAs if you don't want that. | 297 | * into a subdir of dest, just like "cp" does. Use copyAs if you don't want that. | ||
Context not available. | |||||
307 | * | 312 | * | ||
308 | * @param src the file or directory to copy | 313 | * @param src the file or directory to copy | ||
309 | * @param dest the destination | 314 | * @param dest the destination | ||
310 | * @param flags copyAs() supports HideProgressInfo and Overwrite. | 315 | * @param flags copyAs() supports HideProgressInfo, Overwrite and NoCancelCleanup. | ||
311 | * Note: Overwrite has the meaning of both "write into existing directories" and | 316 | * Note: Overwrite has the meaning of both "write into existing directories" and | ||
312 | * "overwrite existing files". | 317 | * "overwrite existing files". | ||
313 | * | 318 | * | ||
Context not available. | |||||
320 | * | 325 | * | ||
321 | * @param src the list of files and/or directories | 326 | * @param src the list of files and/or directories | ||
322 | * @param dest the destination | 327 | * @param dest the destination | ||
323 | * @param flags copy() supports HideProgressInfo and Overwrite. | 328 | * @param flags copy() supports HideProgressInfo, Overwrite and NoCancelCleanup. | ||
324 | * Note: Overwrite has the meaning of both "write into existing directories" and | 329 | * Note: Overwrite has the meaning of both "write into existing directories" and | ||
325 | * "overwrite existing files". However if "dest" exists, then src is copied | 330 | * "overwrite existing files". However if "dest" exists, then src is copied | ||
326 | * into a subdir of dest, just like "cp" does. | 331 | * into a subdir of dest, just like "cp" does. | ||
Context not available. | |||||
333 | * | 338 | * | ||
334 | * @param src the file or directory to copy | 339 | * @param src the file or directory to copy | ||
335 | * @param dest the destination | 340 | * @param dest the destination | ||
336 | * @param flags move() supports HideProgressInfo and Overwrite. | 341 | * @param flags move() supports HideProgressInfo, Overwrite and NoCancelCleanup. | ||
337 | * Note: Overwrite has the meaning of both "write into existing directories" and | 342 | * Note: Overwrite has the meaning of both "write into existing directories" and | ||
338 | * "overwrite existing files". However if "dest" exists, then src is copied | 343 | * "overwrite existing files". However if "dest" exists, then src is copied | ||
339 | * into a subdir of dest, just like "cp" does. | 344 | * into a subdir of dest, just like "cp" does. | ||
Context not available. | |||||
349 | * | 354 | * | ||
350 | * @param src the file or directory to copy | 355 | * @param src the file or directory to copy | ||
351 | * @param dest the destination | 356 | * @param dest the destination | ||
352 | * @param flags moveAs() supports HideProgressInfo and Overwrite. | 357 | * @param flags moveAs() supports HideProgressInfo, Overwrite and NoCancelCleanup. | ||
353 | * Note: Overwrite has the meaning of both "write into existing directories" and | 358 | * Note: Overwrite has the meaning of both "write into existing directories" and | ||
354 | * "overwrite existing files". | 359 | * "overwrite existing files". | ||
355 | * @return the job handling the operation | 360 | * @return the job handling the operation | ||
Context not available. | |||||
361 | * | 366 | * | ||
362 | * @param src the list of files or directories to copy | 367 | * @param src the list of files or directories to copy | ||
363 | * @param dest the destination | 368 | * @param dest the destination | ||
364 | * @param flags move() supports HideProgressInfo and Overwrite. | 369 | * @param flags move() supports HideProgressInfo, Overwrite and NoCancelCleanup. | ||
365 | * Note: Overwrite has the meaning of both "write into existing directories" and | 370 | * Note: Overwrite has the meaning of both "write into existing directories" and | ||
366 | * "overwrite existing files". However if "dest" exists, then src is copied | 371 | * "overwrite existing files". However if "dest" exists, then src is copied | ||
367 | * into a subdir of dest, just like "cp" does. | 372 | * into a subdir of dest, just like "cp" does. | ||
Context not available. |