summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/systeminfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/systeminfo.h')
-rw-r--r--rbutil/rbutilqt/base/systeminfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/base/systeminfo.h b/rbutil/rbutilqt/base/systeminfo.h
index 214e423a51..f5e0eae6ef 100644
--- a/rbutil/rbutilqt/base/systeminfo.h
+++ b/rbutil/rbutilqt/base/systeminfo.h
@@ -34,7 +34,7 @@ class SystemInfo : public QObject
34 MapError, 34 MapError,
35 MapIncompatible, 35 MapIncompatible,
36 }; 36 };
37 37
38 //! All system settings 38 //! All system settings
39 enum SystemInfos { 39 enum SystemInfos {
40 ManualUrl, 40 ManualUrl,
@@ -78,14 +78,14 @@ class SystemInfo : public QObject
78 //! return a list of all platforms (rbutil internal names) 78 //! return a list of all platforms (rbutil internal names)
79 static QStringList platforms(enum PlatformType type = PlatformAll, 79 static QStringList platforms(enum PlatformType type = PlatformAll,
80 QString variant=""); 80 QString variant="");
81 //! returns a list of all languages 81 //! returns a map of all languages
82 static QStringList languages(void); 82 static QMap<QString, QString> languages(void);
83 //! returns a map of usb-ids and their targets 83 //! returns a map of usb-ids and their targets
84 static QMap<int, QString> usbIdMap(enum MapType); 84 static QMap<int, QString> usbIdMap(enum MapType);
85 //! get a value from system settings 85 //! get a value from system settings
86 static QVariant value(enum SystemInfos info); 86 static QVariant value(enum SystemInfos info);
87 //! get a value from system settings for a named platform. 87 //! get a value from system settings for a named platform.
88 static QVariant platformValue(QString platform, enum SystemInfos info); 88 static QVariant platformValue(QString platform, enum SystemInfos info);
89 89
90 private: 90 private:
91 //! you shouldnt call this, its a fully static calls 91 //! you shouldnt call this, its a fully static calls