summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plined.h
blob: ed86640d49b7568108d40f20a3059d0703eac489 (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 PLINEEDIT_H
#define PLINEEDIT_H

class PLineEdit;

#include <tqlineedit.h>
#include "pmessage.h"
#include "pwidget.h"
#include "controller.h"

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

  PLineEdit ( PObject * parent );
  virtual ~PLineEdit ();
  
  virtual void messageHandler(int fd, PukeMessage *pm);
  
  virtual void setWidget(TQObject *_f);
  virtual TQLineEdit *widget();

public slots:
  void updateText(const char *);
  void returnPress();
  
private:
  TQLineEdit *lineedit;
};

#endif