2 Copyright (c) 2000 Matthias Elter <elter@kde.org>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 #define KINFOCENTER_ICON_NAME "hwinfo"
26 #include <QStringList>
36 static QStringList
types() {
39 static QString
userName() {
42 static QString
hostName() {
45 static QString
kdeVersion() {
48 static QString
systemName() {
51 static QString
systemRelease() {
54 static QString
systemVersion() {
57 static QString
systemMachine() {
60 static QString
baseGroup();
62 static void setRoot(bool r
) {
65 static void setType(const QByteArray
& s
);
66 static void setUserName(const QString
& n
) {
69 static void setHostName(const QString
& n
) {
72 static void setKDEVersion(const QString
& n
) {
75 static void setSystemName(const QString
& n
) {
78 static void setSystemRelease(const QString
& n
) {
81 static void setSystemVersion(const QString
& n
) {
84 static void setSystemMachine(const QString
& n
) {
90 static QStringList _types
;
91 static QString _uname
, _hname
, _isystem
, _irelease
, _iversion
, _imachine
, _kdeversion
;
92 static QString _baseGroup
;