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.
|
|
|
#include <tqkeycode.h>
|
|
|
|
#include <tqstring.h>
|
|
|
|
|
|
|
|
#include <kdebug.h>
|
|
|
|
|
|
|
|
#include "kparanoidline.h"
|
|
|
|
|
|
|
|
KParanoidLine::KParanoidLine(TQWidget *parent, const char *name)
|
|
|
|
: KLineEdit(parent, name)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
KParanoidLine::~KParanoidLine()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void KParanoidLine::keyPressEvent(TQKeyEvent *e)
|
|
|
|
{
|
|
|
|
if (e->key() == Key_BackSpace)
|
|
|
|
emit backspacePressed();
|
|
|
|
|
|
|
|
emit textEntered(e->text());
|
|
|
|
|
|
|
|
TQLineEdit::keyPressEvent(e);
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "kparanoidline.moc"
|