KDEUI
Go to the documentation of this file.
22 #ifndef KSTRINGVALIDATOR_H
23 #define KSTRINGVALIDATOR_H
27 #include <QtCore/QStringList>
28 #include <QtGui/QValidator>
63 Q_PROPERTY(
QStringList stringList READ stringList WRITE setStringList )
64 Q_PROPERTY(
bool rejecting READ isRejecting WRITE setRejecting )
65 Q_PROPERTY(
bool fixupEnabled READ isFixupEnabled WRITE setFixupEnabled )
79 bool rejecting = true,
bool fixupEnabled = false,
92 void setRejecting(
bool rejecting );
97 bool isRejecting() const;
103 void setFixupEnabled(
bool fixupEnabled );
108 bool isFixupEnabled() const;
114 void setStringList( const QStringList & list );
119 QStringList stringList() const;
124 virtual State validate(
QString & input,
int & pos ) const;
129 virtual
void fixup(
QString & input ) const;
175 virtual State validate(
QString & input,
int & pos )
const;
180 virtual void fixup(
QString & input )
const;
187 #endif // KSTRINGVALIDATOR_H
A QValidator for mime types.
A QValidator to (dis)allow certain strings.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.