aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/jsextensions
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-07-13 15:05:55 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2017-07-13 13:28:14 +0000
commit30b6748e32e4f91bb492bcdfe56b99b1a036adb4 (patch)
tree9e5344365630dfc5f23ca54837738a3fb397d30b /doc/reference/jsextensions
parentd08ce8f643c825910788185f4a3bd36c6163f20d (diff)
Add TextFile::filePath()
When we pass a TextFile object around, we want to be able to refer to its file name without dragging this information along. [ChangeLog] Added the TextFile::filePath() function. Change-Id: If99dd11eaae7607d26dcac2e7c3cedf57679591e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc/reference/jsextensions')
-rw-r--r--doc/reference/jsextensions/jsextension-textfile.qdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/reference/jsextensions/jsextension-textfile.qdoc b/doc/reference/jsextensions/jsextension-textfile.qdoc
index 2dec89e28..9b273c764 100644
--- a/doc/reference/jsextensions/jsextension-textfile.qdoc
+++ b/doc/reference/jsextensions/jsextension-textfile.qdoc
@@ -65,6 +65,12 @@
Closes the file. It is recommended to always call this function as soon as you are finished
with the file, in order to keep the number of in-flight file descriptors as low as possible.
+ \section2 filePath
+ \code
+ filePath(): string
+ \endcode
+ The absolute path of the file represented by this object.
+
\section2 readAll
\code
readAll(): string