summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ppushbt.h
blob: 87336679d3d8e39b9a8f196f2fa3189ad9535c6b (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 <qpushbutton.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(QObject *_b = 0);
  virtual QPushButton *widget();

public slots:
  
private:
  QPushButton *button;

};

#endif