-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend documentation for QFile:copy()
- Add information about symlinks and file metadata. - Reflow text. - Extract text common to both overloads to a .qdocinc file for consistency and to avoid duplication. Pick-to: 6.2 6.1 5.15 Fixes: QTBUG-94706 Change-Id: I3c730fd63f4018a1a573bb56751fedd2270a3247 Reviewed-by: Thiago Macieira <[email protected]>
- Loading branch information
1 parent
cbe6567
commit cc2fdce
Showing
2 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
This file is closed before it is copied. | ||
|
||
If the copied file is a symbolic link (symlink), the | ||
file it refers to is copied, not the link itself. With the | ||
exception of permissions, which are copied, no other file metadata | ||
is copied. | ||
|
||
Returns \c true if successful; otherwise returns \c false. | ||
|
||
Note that if a file with the name \a newName already exists, | ||
copy() returns \c false. This means QFile will not overwrite it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters