summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ppushbt.h
blob: 3049c8dab4041b2fc167d77f22464131c7589601 (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
#ifndef PPUSHBUTTON_H
#define PPUSHBUTTON_H

class PPushButton;

#include <tqpushbutton.h>
#include "pmessage.h"
#include "pbutton.h"
#include "pobject.h"
#include "controller.h"

class PPushButton : public PButton
{
  TQ_OBJECT
  
public:
  static PObject *createWidget(CreateArgs &ca);

  PPushButton ( PObject * parent );
  virtual ~PPushButton ();
  
  virtual void messageHandler(int fd, PukeMessage *pm);
  
  virtual void setWidget(TQObject *_b = 0);
  virtual TQPushButton *widget();

public slots:
  
private:
  TQPushButton *button;

};

#endif