You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#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
|
|
|
|
|
|
|
|
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
|