summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/includes/qfile-copy.qdocinc
blob: 5ff68eac812fe1e554e43239643b7aabd549c351 (plain)
1
2
3
4
5
6
7
8
9
10
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.