diff options
Diffstat (limited to 'ksirc/puke/plistbox.h')
-rw-r--r-- | ksirc/puke/plistbox.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ksirc/puke/plistbox.h b/ksirc/puke/plistbox.h new file mode 100644 index 00000000..cad454a8 --- /dev/null +++ b/ksirc/puke/plistbox.h @@ -0,0 +1,37 @@ +#ifndef PLISTBOX_H +#define PLISTBOX_H + +class PListBox; + +#include <qlistbox.h> +#include "pmessage.h" +#include "ptablevw.h" +#include "controller.h" + +class PListBox : public PFrame +{ + Q_OBJECT +public: + static PObject *createWidget(CreateArgs &ca); + + PListBox ( PObject * parent ); + virtual ~PListBox (); + + virtual void messageHandler(int fd, PukeMessage *pm); + + virtual void setWidget(QObject *_lb); + virtual QListBox *widget(); + +public slots: + void highlighted(int); + void selected(int); + +protected: + bool checkWidget(); + +private: + QListBox *lb; + +}; + +#endif |