refs #887, directories available via CDirectoryUtils/relative paths

* relative cache/settings paths are available relativeFilePath
* directories build in CDirectoryUtils
* directory comparison in CDirectoryUtils
* using CFileUtils to concatenate dir paths
* using URL encoded string for normalized directory (as it can be decoded)
This commit is contained in:
Klaus Basan
2017-02-22 05:10:24 +01:00
parent f4941b2189
commit 888375d294
8 changed files with 220 additions and 28 deletions

View File

@@ -53,6 +53,9 @@ namespace BlackMisc
//! Return the filename where the value with the given key may be stored.
static QString filenameForKey(const QString &key);
//! Relative file path in application data directory
static const QString relativeFilePath();
//! Return all files where settings may be stored.
QStringList enumerateStore() const;