diff options
author | David Faure <faure@kde.org> | 2011-11-03 19:13:32 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-04 10:54:54 +0100 |
commit | 272d20ce27bfde44fe0ea85d90fe178bb01198da (patch) | |
tree | cbf115bf061c1af44f29286a569ad07ab0988842 /src/corelib/io/qstandardpaths.cpp | |
parent | ae6e7e3d59439008e7369da8083f4e5c4f6f980a (diff) |
QStandardPaths: add DownloadLocation.
Only properly implemented on unix (XDG), falls back to Document location
on Mac and Windows, because not easily available with the current API
being used by either one.
Change-Id: Id269f0e3c4e3a68e19205de96c0b39980fde80ff
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qstandardpaths.cpp')
-rw-r--r-- | src/corelib/io/qstandardpaths.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qstandardpaths.cpp b/src/corelib/io/qstandardpaths.cpp index 7deaceefc8..43ae5c07ab 100644 --- a/src/corelib/io/qstandardpaths.cpp +++ b/src/corelib/io/qstandardpaths.cpp @@ -72,7 +72,7 @@ QT_BEGIN_NAMESPACE \value DocumentsLocation Returns the user's document. \value FontsLocation Returns the user's fonts. \value ApplicationsLocation Returns the user's applications. - \value MusicLocation Returns the users music. + \value MusicLocation Returns the user's music. \value MoviesLocation Returns the user's movies. \value PicturesLocation Returns the user's pictures. \value TempLocation Returns the system's temporary directory. @@ -89,6 +89,7 @@ QT_BEGIN_NAMESPACE files should be written. For instance unix local sockets. \value ConfigLocation Returns a directory location where user-specific configuration files should be written. + \value DownloadLocation Returns a directory for user's downloaded files. \sa writableLocation() standardLocations() displayName() locate() locateAll() |