summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plistbox.h
blob: f2e1c191e9d856aa08f356da2164109b597dad3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef PLISTBOX_H
#define PLISTBOX_H

class PListBox;

#include <tqlistbox.h>
#include "pmessage.h"
#include "ptablevw.h"
#include "controller.h"

class PListBox : public PFrame
{
  Q_OBJECT
  TQ_OBJECT
public:
  static PObject *createWidget(CreateArgs &ca);

  PListBox ( PObject * tqparent );
  virtual ~PListBox ();
  
  virtual void messageHandler(int fd, PukeMessage *pm);
  
  virtual void setWidget(TQObject *_lb);
  virtual TQListBox *widget();

public slots:
  void highlighted(int);
  void selected(int);

protected:
  bool checkWidget();

private:
  TQListBox *lb;
   
};

#endif