summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdir.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-09-23 11:01:08 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-09-23 18:19:13 (GMT)
commita0e677ef0468fdf2d8f04e1b64312a3d9881be5f (patch)
tree28c21229717d68118a62e1992f5099175edcd462 /src/corelib/io/qdir.cpp
parent4d07fc585b7cb8784deaf98afa432082f36fc981 (diff)
downloadQt-a0e677ef0468fdf2d8f04e1b64312a3d9881be5f.zip
Qt-a0e677ef0468fdf2d8f04e1b64312a3d9881be5f.tar.gz
Qt-a0e677ef0468fdf2d8f04e1b64312a3d9881be5f.tar.bz2
symbian - Document behaviour of QDir::rootPath / homePath
The root path was intentionally changed to reflect the real drive root, while home path continues to reflect the user data directory. Task-Number: QTBUG-21527 Reviewed-By: Miikka Heikkinen
Diffstat (limited to 'src/corelib/io/qdir.cpp')
-rw-r--r--src/corelib/io/qdir.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp
index 4ba8e06..48b9358 100644
--- a/src/corelib/io/qdir.cpp
+++ b/src/corelib/io/qdir.cpp
@@ -1872,7 +1872,10 @@ QString QDir::currentPath()
Under non-Windows operating systems the \c HOME environment
variable is used if it exists, otherwise the path returned by the
- rootPath(). On Symbian always the same as the path returned by the rootPath().
+ rootPath().
+
+ On Symbian this typically returns "c:/data",
+ i.e. the same as native PathInfo::PhoneMemoryRootPath().
\sa home(), currentPath(), rootPath(), tempPath()
*/
@@ -1936,9 +1939,8 @@ QString QDir::tempPath()
/*!
Returns the absolute path of the root directory.
- For Unix operating systems this returns "/". For Windows file
- systems this normally returns "c:/". On Symbian this typically returns
- "c:/data", i.e. the same as native PathInfo::PhoneMemoryRootPath().
+ For Unix operating systems this returns "/". For Windows and Symbian file
+ systems this normally returns "c:/". I.E. the root of the system drive.
\sa root(), drives(), currentPath(), homePath(), tempPath()
*/