#ifndef PALISTBOX_H
#define PALISTBOX_H

class PAListBox;

#include "../alistbox.h"
#include "pmessage.h"
#include "plistbox.h"
#include "controller.h"

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

  PAListBox ( PObject * parent );
  virtual ~PAListBox ();
  
  virtual void messageHandler(int fd, PukeMessage *pm);
  
  virtual void setWidget(TQObject *_lb = 0x0);
  virtual aListBox *widget();

public slots:

protected:
  bool checkWidget();

private:
  aListBox *lb;
   
};

#endif
