summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/sysinfo.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-08-10 19:46:51 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-08-10 19:46:51 +0000
commite2f508691646935685c122af36a9bbce0cc7ba3c (patch)
treebff48ae9049fb6497172e4dabeabd9c36df802d5 /rbutil/rbutilqt/sysinfo.cpp
parent84ced00bbd1b86585de508176fa63f09a2faf79b (diff)
downloadrockbox-e2f508691646935685c122af36a9bbce0cc7ba3c.tar.gz
rockbox-e2f508691646935685c122af36a9bbce0cc7ba3c.tar.bz2
rockbox-e2f508691646935685c122af36a9bbce0cc7ba3c.zip
Clean up and rename Detect class.
Move check() function out of the Detect class and place it into utils.cpp for now. Rename Detect class to System, as it now only retrieves data about the underlying system and doesn't detect anything anymore. Cleans up with the confusion between Detect and Autodetection. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22238 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/sysinfo.cpp')
-rw-r--r--rbutil/rbutilqt/sysinfo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/sysinfo.cpp b/rbutil/rbutilqt/sysinfo.cpp
index f5c0e47eeb..ca34b4b063 100644
--- a/rbutil/rbutilqt/sysinfo.cpp
+++ b/rbutil/rbutilqt/sysinfo.cpp
@@ -20,7 +20,7 @@
#include <QtGui>
#include "sysinfo.h"
#include "ui_sysinfofrm.h"
-#include "detect.h"
+#include "system.h"
#include "utils.h"
#include "autodetection.h"
@@ -38,13 +38,13 @@ Sysinfo::Sysinfo(QWidget *parent) : QDialog(parent)
void Sysinfo::updateSysinfo(void)
{
QString info;
- info += tr("<b>OS</b><br/>") + Detect::osVersionString() + "<hr/>";
- info += tr("<b>Username</b><br/>%1<hr/>").arg(Detect::userName());
+ info += tr("<b>OS</b><br/>") + System::osVersionString() + "<hr/>";
+ info += tr("<b>Username</b><br/>%1<hr/>").arg(System::userName());
#if defined(Q_OS_WIN32)
- info += tr("<b>Permissions</b><br/>%1<hr/>").arg(Detect::userPermissionsString());
+ info += tr("<b>Permissions</b><br/>%1<hr/>").arg(System::userPermissionsString());
#endif
info += tr("<b>Attached USB devices</b><br/>");
- QMap<uint32_t, QString> usbids = Detect::listUsbDevices();
+ QMap<uint32_t, QString> usbids = System::listUsbDevices();
QList<uint32_t> usbkeys = usbids.keys();
for(int i = 0; i < usbkeys.size(); i++) {
info += tr("VID: %1 PID: %2, %3")