path: root/rbutil/rbutilqt/base/systeminfo.h
diff options
authorDominik Riebeling <>2010-03-01 22:45:17 +0000
committerDominik Riebeling <>2010-03-01 22:45:17 +0000
commit8c8703038be3f9bbb80742816045e18d3aa8c465 (patch)
tree2af356a2b0d77016c71aeecfcc700e2e8aa7f844 /rbutil/rbutilqt/base/systeminfo.h
parentf67e3559c62ba21d6085793a2bb5513050590ef7 (diff)
Refactor device tree setup a bit.
- reorder value retrieval (display names etc) to cut down the number of necessary accesses. While this is not critical it cuts down the noise generated in the trace noticably. - match the old target by its internal name instead of the display name. - remove two access functions in SystemInfo that are not really needed anymore. Accessing the values via platformValue() is much more logical and in line with the rest of the value accesses. - try to scroll to the selected item in the device list after setup and detection. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/systeminfo.h')
1 files changed, 0 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/base/systeminfo.h b/rbutil/rbutilqt/base/systeminfo.h
index 76d00d4949..fb5fa9e1ac 100644
--- a/rbutil/rbutilqt/base/systeminfo.h
+++ b/rbutil/rbutilqt/base/systeminfo.h
@@ -77,10 +77,6 @@ class SystemInfo : public QObject
QString variant="");
//! returns a list of all languages
static QStringList languages(void);
- //! maps a platform to its name
- static QString name(QString platform);
- //! maps a platform to its brand
- static QString brand(QString platform);
//! returns a map of usb-ids and their targets
static QMap<int, QString> usbIdMap(enum MapType);
//! get a value from system settings