KDEUI
kstringvalidator.cpp
Go to the documentation of this file.
64 for ( QStringList::ConstIterator it = d->mStringList.constBegin(); it != d->mStringList.constEnd() ; ++it )
KMimeTypeValidator(QObject *parent=0)
Creates a new mime type validator.
Definition: kstringvalidator.cpp:124
virtual void fixup(QString &input) const
Removes all characters that are forbidden in mimetypes.
Definition: kstringvalidator.cpp:151
virtual State validate(QString &input, int &pos) const
Checks for well-formed mimetype.
Definition: kstringvalidator.cpp:135
bool isRejecting() const
Returns whether the string validator is in rejecting mode.
Definition: kstringvalidator.cpp:89
KStringListValidator(const QStringList &list=QStringList(), bool rejecting=true, bool fixupEnabled=false, QObject *parent=0)
Creates a new string validator.
Definition: kstringvalidator.cpp:35
void setRejecting(bool rejecting)
Sets whether the string validator is in rejecting mode or not.
Definition: kstringvalidator.cpp:84
bool isFixupEnabled() const
Returns whether the fixup flag is set.
Definition: kstringvalidator.cpp:99
virtual State validate(QString &input, int &pos) const
Reimplemented from.
Definition: kstringvalidator.cpp:50
#define kDebug
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.