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
KStringListValidator(const QStringList &list=QStringList(), bool rejecting=true, bool fixupEnabled=false, QObject *parent=0)
Creates a new string validator.
Definition: kstringvalidator.cpp:35
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QStringList stringList() const
Returns the string list of the validator.
virtual State validate(QString &input, int &pos) const
Reimplemented from.
Definition: kstringvalidator.cpp:50
virtual State validate(QString &input, int &pos) const
Checks for well-formed mimetype.
Definition: kstringvalidator.cpp:135
void setRejecting(bool rejecting)
Sets whether the string validator is in rejecting mode or not.
Definition: kstringvalidator.cpp:84
bool isRejecting() const
Returns whether the string validator is in rejecting mode.
Definition: kstringvalidator.cpp:89
virtual void fixup(QString &input) const
Removes all characters that are forbidden in mimetypes.
Definition: kstringvalidator.cpp:151
bool isFixupEnabled() const
Returns whether the fixup flag is set.
Definition: kstringvalidator.cpp:99
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
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.