summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2020-09-29 20:09:51 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2020-10-15 14:39:33 +0200
commitbc75dce3583962d46983aa22c971ce85b9bd4af5 (patch)
treecbe2ac567120ee57360c69cc7fd8bfb7d7bc3502
parent1206abf2f7cf03d69264e4a62e920f514219e35d (diff)
qtpaths: Add missing location types
Task-number: QTBUG-87058 Change-Id: I58926eec16f51640f0a1cbc390167346b42290a8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: David Faure <david.faure@kdab.com>
-rw-r--r--src/qtpaths/qtpaths.cpp20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/qtpaths/qtpaths.cpp b/src/qtpaths/qtpaths.cpp
index e03f27cd0..bd5ee275b 100644
--- a/src/qtpaths/qtpaths.cpp
+++ b/src/qtpaths/qtpaths.cpp
@@ -89,20 +89,26 @@ static const struct StringEnum {
const char *stringvalue;
QStandardPaths::StandardLocation enumvalue;
} lookupTableData[] = {
+ { "AppConfigLocation", QStandardPaths::AppConfigLocation },
+ { "AppDataLocation", QStandardPaths::AppDataLocation },
+ { "AppLocalDataLocation", QStandardPaths::AppLocalDataLocation },
{ "ApplicationsLocation", QStandardPaths::ApplicationsLocation },
+ { "CacheLocation", QStandardPaths::CacheLocation },
+ { "ConfigLocation", QStandardPaths::ConfigLocation },
+ { "DataLocation", QStandardPaths::DataLocation },
{ "DesktopLocation", QStandardPaths::DesktopLocation },
{ "DocumentsLocation", QStandardPaths::DocumentsLocation },
+ { "DownloadLocation", QStandardPaths::DownloadLocation },
{ "FontsLocation", QStandardPaths::FontsLocation },
- { "MusicLocation", QStandardPaths::MusicLocation },
- { "MoviesLocation", QStandardPaths::MoviesLocation },
- { "PicturesLocation", QStandardPaths::PicturesLocation },
- { "HomeLocation", QStandardPaths::HomeLocation },
{ "GenericCacheLocation", QStandardPaths::GenericCacheLocation },
+ { "GenericConfigLocation", QStandardPaths::GenericConfigLocation },
{ "GenericDataLocation", QStandardPaths::GenericDataLocation },
+ { "HomeLocation", QStandardPaths::HomeLocation },
+ { "MoviesLocation", QStandardPaths::MoviesLocation },
+ { "MusicLocation", QStandardPaths::MusicLocation },
+ { "PicturesLocation", QStandardPaths::PicturesLocation },
{ "RuntimeLocation", QStandardPaths::RuntimeLocation },
- { "ConfigLocation", QStandardPaths::ConfigLocation },
- { "GenericConfigLocation", QStandardPaths::GenericConfigLocation },
- { "DownloadLocation", QStandardPaths::DownloadLocation }
+ { "TempLocation", QStandardPaths::TempLocation }
};
/**