diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 4aed2c8219774f5d797760606b8489a92ddc5163 (patch) | |
tree | 3f8c130f7d269626bf6a9447407ef6c35954426a /kcontrol/info/info.h | |
download | tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/info/info.h')
-rw-r--r-- | kcontrol/info/info.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/kcontrol/info/info.h b/kcontrol/info/info.h new file mode 100644 index 000000000..c55c1b2a5 --- /dev/null +++ b/kcontrol/info/info.h @@ -0,0 +1,53 @@ +#ifndef _INFO_H_ +#define _INFO_H_ + +#include <qwidget.h> +#include <qwidgetstack.h> +#include <qframe.h> +#include <qlabel.h> +#include <qtabdialog.h> +#include <qpushbutton.h> +#include <qtimer.h> +#include <qlistview.h> +#include <qfile.h> +#include <qevent.h> + +#include <kcmodule.h> +#include <kaboutdata.h> + +#include "config.h" + +/* function call-back-prototypes... */ + +bool GetInfo_CPU( QListView *lBox ); +bool GetInfo_IRQ( QListView *lBox ); +bool GetInfo_DMA( QListView *lBox ); +bool GetInfo_PCI( QListView *lBox ); +bool GetInfo_IO_Ports( QListView *lBox ); +bool GetInfo_Sound( QListView *lBox ); +bool GetInfo_Devices( QListView *lBox ); +bool GetInfo_SCSI( QListView *lBox ); +bool GetInfo_Partitions( QListView *lBox ); +bool GetInfo_XServer_and_Video( QListView *lBox ); +bool GetInfo_CD_ROM( QListView *lBox ); /* New CD-ROM Info */ +extern bool GetInfo_OpenGL( QListView *lBox ); + +class KInfoListWidget : public KCModule +{ +public: + KInfoListWidget(const QString &_title, QWidget *parent, const char *name=0, bool _getlistbox (QListView *)=0); + + virtual void load(); + virtual QString quickHelp() const; + +private: + QListView *lBox; + bool (*getlistbox) (QListView *); + QString title; + + QLabel *NoInfoText; + QString ErrorString; + QWidgetStack *widgetStack; +}; + +#endif |