aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-01-07 13:39:10 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2014-01-07 14:00:32 +0100
commit42422e8e6c4b856e9b81c82e74c70e830177748b (patch)
tree17e8da38172f1ba842ad0267ba21bf8961c38b45 /doc/reference
parent2364c402294a525b2c1d3a8d79bed125f4c6ab88 (diff)
Add function "lastModified" to the "File" JS extension.
Change-Id: I96157cfc5404f53a9f48540952462f1b81f2c4e8 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/jsextensions/jsextension-file.qdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/reference/jsextensions/jsextension-file.qdoc b/doc/reference/jsextensions/jsextension-file.qdoc
index 4177edbfc..2504d6e45 100644
--- a/doc/reference/jsextensions/jsextension-file.qdoc
+++ b/doc/reference/jsextensions/jsextension-file.qdoc
@@ -64,6 +64,14 @@
\endcode
Returns true if and only if there is a file at \c filePath.
+ \section2 lastModified
+ \code
+ File.lastModified(filePath)
+ \endcode
+ Returns the time of last modification for the file at \c filePath. The concrete semantics of the
+ returned value are platform-specific. You should only rely on the property that a smaller value
+ indicates an older timestamp.
+
\section2 remove
\code
File.remove(filePath)