24 #include <tqkeycode.h>
26 #include "krestrictedline.h"
30 const TQString& valid )
46 if (e->key() == Key_Enter || e->key() == Key_Return || e->key() == Key_Delete || e->ascii() < 32)
48 TQLineEdit::keyPressEvent(e);
54 if (!qsValidChars.isEmpty() && !qsValidChars.contains(e->ascii()))
62 TQLineEdit::keyPressEvent(e);
78 void KRestrictedLine::virtual_hook(
int id,
void* data )
79 { KLineEdit::virtual_hook(
id, data ); }
81 #include "krestrictedline.moc"