#include <latin1validator.h>
It must be used for cases where strings are passed on to BRABO programs as input. As these strings (at this point) may never contain spaces, this is checked too.
Definition at line 31 of file latin1validator.h.
Public Member Functions | |
Latin1Validator (QObject *parent, const char *name=0) | |
~Latin1Validator () | |
The default destructor. | |
void | fixup (QString &input) const |
Fixes the input string by removing all non-latin1 characters. | |
State | validate (QString &input, int &pos) const |
Returns whether the string is a valid latin1-only string. |
|
Definition at line 40 of file latin1validator.cpp. |
|
The default destructor.
Definition at line 46 of file latin1validator.cpp. |
|
Fixes the input string by removing all non-latin1 characters.
Definition at line 52 of file latin1validator.cpp. |
|
Returns whether the string is a valid latin1-only string.
Definition at line 64 of file latin1validator.cpp. |