path: root/src/corelib/doc/src/includes/qfile-copy.qdocinc
diff options
Diffstat (limited to 'src/corelib/doc/src/includes/qfile-copy.qdocinc')
1 files changed, 11 insertions, 0 deletions
diff --git a/src/corelib/doc/src/includes/qfile-copy.qdocinc b/src/corelib/doc/src/includes/qfile-copy.qdocinc
new file mode 100644
index 0000000000..5ff68eac81
--- /dev/null
+++ b/src/corelib/doc/src/includes/qfile-copy.qdocinc
@@ -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.