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