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