summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ppushbt.h
blob: dc9e0a404ec2bd348765384ce3db87a2e0edb2d0 (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
{
  Q_OBJECT
  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