KDEUI
kstringvalidator.h
Go to the documentation of this file.
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
virtual State validate(QString &input, int &pos) const
Reimplemented from.
Definition kstringvalidator.cpp:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.