Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / kinfocenter / info / info.h
blob794d60471af078e2734fdf46785b658f9f73b94f
1 #ifndef _INFO_H_
2 #define _INFO_H_
4 #include <QWidget>
5 #include <QStackedWidget>
6 #include <QLabel>
7 #include <QPushButton>
8 #include <QTimer>
9 #include <QTreeWidget>
10 #include <QFile>
11 #include <QEvent>
13 #include <kcmodule.h>
14 #include <kaboutdata.h>
16 #include "os_current.h"
18 class KInfoListWidget : public KCModule
20 public:
21 KInfoListWidget(const KComponentData &inst,const QString &_title, QWidget *parent, bool _getlistbox (QTreeWidget*) = NULL);
23 virtual void load();
24 virtual QString quickHelp() const;
26 private:
27 QTreeWidget* tree;
28 bool (*getlistbox) (QTreeWidget*);
29 QString title;
31 QLabel *noInfoText;
32 QString errorString;
33 QStackedWidget *widgetStack;
36 #endif