Static class for filtering/formating strings. More...
#include <stringfilters.hpp>
Static Public Member Functions | |
static QString | cleanName (QString name, int maxLength=-1) |
Cleans the string for a well formated name. | |
Static Public Attributes | |
static const int | MaxAttributeNameLength = 256 |
static const int | MaxDocTitleLength = 512 |
static const int | MaxDocumentTagLength = 256 |
static const int | MaxTagNameLength = 256 |
Static class for filtering/formating strings.
QString StringFilters::cleanName | ( | QString | name, | |
int | maxLength = -1 | |||
) | [static] |
Cleans the string for a well formated name.
maxLength | Will truncate the string if different than -1 |
const int StringFilters::MaxAttributeNameLength = 256 [static] |
const int StringFilters::MaxDocTitleLength = 512 [static] |
const int StringFilters::MaxDocumentTagLength = 256 [static] |
const int StringFilters::MaxTagNameLength = 256 [static] |