You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
560 B
C
34 lines
560 B
C
15 years ago
|
#ifndef PLINEEDIT_H
|
||
|
#define PLINEEDIT_H
|
||
|
|
||
|
class PLineEdit;
|
||
|
|
||
|
#include <qlineedit.h>
|
||
|
#include "pmessage.h"
|
||
|
#include "pwidget.h"
|
||
|
#include "controller.h"
|
||
|
|
||
|
class PLineEdit : public PWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
static PObject *createWidget(CreateArgs &ca);
|
||
|
|
||
|
PLineEdit ( PObject * parent );
|
||
|
virtual ~PLineEdit ();
|
||
|
|
||
|
virtual void messageHandler(int fd, PukeMessage *pm);
|
||
|
|
||
|
virtual void setWidget(QObject *_f);
|
||
|
virtual QLineEdit *widget();
|
||
|
|
||
|
public slots:
|
||
|
void updateText(const char *);
|
||
|
void returnPress();
|
||
|
|
||
|
private:
|
||
|
QLineEdit *lineedit;
|
||
|
};
|
||
|
|
||
|
#endif
|