~ubuntu-branches/ubuntu/hardy/kdebase-workspace/hardy-backports

« back to all changes in this revision

Viewing changes to kcontrol/infocenter/info/info.h

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2008-05-02 23:57:34 UTC
  • mfrom: (1.2.1 upstream) (20.1.22 hardy)
  • Revision ID: james.westby@ubuntu.com-20080502235734-kwrykz4qcvunwqf4
Tags: 4:4.0.4-0ubuntu1~hardy1
* New upstream release (LP: #225994)
* Updated control file (LP: #220655)
* Updated install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _INFO_H_
2
 
#define _INFO_H_
3
 
 
4
 
#include <QWidget>
5
 
#include <QStackedWidget>
6
 
#include <QLabel>
7
 
#include <QPushButton>
8
 
#include <QTimer>
9
 
#include <Qt3Support/Q3CheckListItem>
10
 
#include <QFile>
11
 
#include <QEvent>
12
 
 
13
 
#include <kcmodule.h>
14
 
#include <kaboutdata.h>
15
 
 
16
 
#include "config-infocenter.h"
17
 
 
18
 
/* function call-back-prototypes... */
19
 
 
20
 
bool GetInfo_CPU( Q3ListView *lBox );
21
 
bool GetInfo_IRQ( Q3ListView *lBox );
22
 
bool GetInfo_DMA( Q3ListView *lBox );
23
 
bool GetInfo_PCI( Q3ListView *lBox );
24
 
bool GetInfo_IO_Ports( Q3ListView *lBox );
25
 
bool GetInfo_Sound( Q3ListView *lBox );
26
 
bool GetInfo_Devices( Q3ListView *lBox );
27
 
bool GetInfo_SCSI( Q3ListView *lBox );
28
 
bool GetInfo_Partitions( Q3ListView *lBox );
29
 
bool GetInfo_XServer_and_Video( Q3ListView *lBox );
30
 
extern bool GetInfo_OpenGL( Q3ListView *lBox );
31
 
 
32
 
class KInfoListWidget : public KCModule
33
 
{
34
 
public:
35
 
  KInfoListWidget(const KComponentData &inst,const QString &_title, QWidget *parent, bool _getlistbox (Q3ListView *)=0);
36
 
 
37
 
  virtual void load();
38
 
  virtual QString quickHelp() const;
39
 
 
40
 
private:
41
 
  Q3ListView    *lBox;
42
 
  bool          (*getlistbox) (Q3ListView *);
43
 
  QString title;
44
 
 
45
 
  QLabel        *NoInfoText;
46
 
  QString       ErrorString;
47
 
  QStackedWidget  *widgetStack;
48
 
};
49
 
 
50
 
#endif