summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2012-02-15 18:49:31 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-17 11:44:29 +0100
commit64d06c1c673253cd247947e840ba96c628c1a4b1 (patch)
tree371a87548b160866e714dbc141a99f3369b0af48 /examples
parent51699245d7e3a27867f440697eca9b30ea4578f4 (diff)
QStandardPaths implementation configured using JSON
The default JSON file is /etc/user-dirs.json, but may be overridden by setting PATH_CONFIG_HOME to the file to be used. This provides functionality similar to the XDG based QStandardPaths, but uses a JSON file to define paths, rather than the XDG A=B format. Values other than HomeLocation and TempLocation may be specified by removing the "Location" postfix, converting to upper case, and separating words with _. Values are independent. For example, CacheLocation does not depend on GenericCacheLocation. Variables specified as ${[^{]*} will be replaced with environment variables. Change-Id: I374f5e6bae498dbfa9cb4ecadf915b05fb91fc34 Reviewed-by: David Faure <faure@kde.org>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions