class KRestrictedLine

A line editor for restricted character sets. More...

Definition#include <krestrictedline.h>
InheritsKLineEdit
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Signals

Protected Methods


Detailed Description

The KRestrictedLine widget is a variant of QLineEdit which accepts only a restricted set of characters as input. All other characters will be discarded and the signal invalidChar() will be emitted for each of them.

Valid characters can be passed as a QString to the constructor or set afterwards via setValidChars(). The default key bindings of QLineEdit are still in effect.

void  invalidChar (int)

[signal]

Emitted when an invalid character was typed.

void  keyPressEvent ( QKeyEvent *e )

[protected]

@reimplemented

Reimplemented from KLineEdit