krestrictedline.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
#ifndef KRESTRICTEDLINE_H
00026
#define KRESTRICTEDLINE_H
00027
00028
#include <klineedit.h>
00029
00044 class KRestrictedLine :
public KLineEdit
00045 {
00046 Q_OBJECT
00047 Q_PROPERTY(
QString validChars READ validChars WRITE
setValidChars )
00048
00049
public:
00050
00058
KRestrictedLine(
QWidget *parent=0,
const char *name=0,
00059
const QString& valid = QString::null);
00060
00064
~KRestrictedLine();
00065
00070
void setValidChars(
const QString& valid);
00074
QString validChars()
const;
00075
00076 signals:
00077
00081
void invalidChar(
int);
00082
00083
protected:
00084
void keyPressEvent(
QKeyEvent *e );
00085
00086
private:
00088
QString qsValidChars;
00089
protected:
00090
virtual void virtual_hook(
int id,
void* data );
00091
private:
00092
class KRestrictedLinePrivate* d;
00093 };
00094
00095
#endif // KRESTRICTEDLINE_H
This file is part of the documentation for kdeui Library Version 3.3.0.