summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plabel.h
blob: 57a50b685fd6a990a66bccfa2377086f484125a2 (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
35
#ifndef PLABEL_H
#define PLABEL_H

class PLabel;

#include <tqlabel.h>
#include "pmessage.h"
#include "pframe.h"
#include "controller.h"

class PLabel : public PFrame
{
  Q_OBJECT
  TQ_OBJECT
public:
  static PObject *createWidget(CreateArgs &ca);

  PLabel ( PObject * parent );
  virtual ~PLabel ();
  
  virtual void messageHandler(int fd, PukeMessage *pm);
  
  virtual void setWidget(TQObject *_obj = 0);
  virtual TQLabel *widget();

public slots:
  
protected:
  bool checkWidget();

private:
  TQLabel *label;
};

#endif