KDECore
kuitsemantics.cpp
Go to the documentation of this file.
311 qtHtmlTagNames << QL1S("a") << QL1S("address") << QL1S("b") << QL1S("big") << QL1S("blockquote")
1251 QChar qc = attvals.last().indexOf(QLatin1Char('\'')) < 0 ? QLatin1Char('\'') : QLatin1Char('"');
1514 static QRegExp staticWrapRx(QLatin1String("(<\\s*(\\w+)\\b([^>]*)>)(.*)(<\\s*/\\s*\\2\\s*>)"));
Definition: kuitsemantics.cpp:110
Definition: kuitsemantics.cpp:93
Definition: kuitsemantics.cpp:86
bool atEnd() const
Definition: kuitsemantics.cpp:87
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QString errorString() const
QString toNativeSeparators(const QString &pathName)
QString & append(QChar ch)
Definition: kuitsemantics.cpp:86
Definition: kuitsemantics.cpp:120
Definition: kuitsemantics.cpp:111
#define SET_PATTERN(tag, atts, fmt, ctxt_ptrn)
#define SETUP_TAG_NL(tag, nlead)
Definition: kuitsemantics.cpp:86
T pop()
QString toKeyCombo(const QString &shstr, const QString &delim, const QHash< QString, QString > &keydict)
Reformat keyboard shortcut.
Definition: kuitformats.cpp:29
Definition: kuitsemantics.cpp:86
Definition: kuitsemantics.cpp:85
Definition: kuitsemantics.cpp:84
Definition: kuitsemantics.cpp:102
Definition: kuitsemantics.cpp:94
Definition: kuitsemantics.cpp:94
void setMinimal(bool minimal)
static QString escape(const QString &text)
Convert &, ", ', <, > characters into XML entities &, <, >, ', ", respectively.
Definition: kuitsemantics.cpp:1633
Definition: kuitsemantics.cpp:86
Definition: kuitsemantics.cpp:84
QString toString() const
#define K_GLOBAL_STATIC(TYPE, NAME)
This macro makes it easy to use non-POD types as global statics.
Definition: kglobal.h:221
void push(const T &t)
Definition: kuitsemantics.cpp:95
const T & at(int i) const
#define SETUP_ROLCUEFMT(rol, cue, fmt)
Definition: kuitsemantics.cpp:87
Definition: kuitsemantics.cpp:85
#define XXXX_NOOP2(ctxt, msg)
Definition: kuitsemantics.cpp:102
QString & remove(int position, int n)
Definition: kuitsemantics.cpp:113
Definition: kuitsemantics.cpp:112
Definition: kuitsemantics.cpp:113
Definition: kuitsemantics.cpp:110
Definition: kuitsemantics.cpp:84
int size() const
Definition: kuitsemantics.cpp:114
bool isLetter() const
void clear()
int matchedLength() const
Definition: kuitsemantics.cpp:82
int indexIn(const QString &str, int offset, CaretMode caretMode) const
Definition: kuitsemantics.cpp:84
Definition: kuitsemantics.cpp:114
QString format(const QString &text, const QString &ctxt) const
Transforms the semantic markup in the given text into visual formatting.
Definition: kuitsemantics.cpp:1584
Definition: kuitsemantics.cpp:113
#define SETUP_FMT(fmt, name)
#define SET_KEYNAME(rawname)
bool isSpace() const
Definition: kuitsemantics.cpp:111
Definition: kuitsemantics.cpp:86
Definition: kuitsemantics.cpp:114
Definition: kuitsemantics.cpp:94
Definition: kuitsemantics.cpp:101
QStringList capturedTexts() const
Definition: kuitsemantics.cpp:102
QChar fromLatin1(char c)
QString toInterfacePath(const QString &inpstr, const QString &delim)
Reformat GUI element path.
Definition: kuitformats.cpp:59
int toInt(bool *ok, int base) const
Definition: kuitsemantics.cpp:85
bool isEmpty() const
QString trimmed() const
Definition: kuitsemantics.cpp:102
Definition: kuitsemantics.cpp:114
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
Definition: kuitsemantics.cpp:86
Definition: kuitsemantics.cpp:86
Definition: kuitsemantics.cpp:110
bool isCharacters() const
Definition: kuitsemantics.cpp:85
Definition: kuitsemantics.cpp:85
void setEntityResolver(QXmlStreamEntityResolver *resolver)
Definition: kaboutdata.h:33
TokenType readNext()
Definition: kuitsemantics.cpp:94
Definition: kuitsemantics.cpp:111
Definition: policy-gen.h:28
QString toLower() const
const T value(const Key &key) const
static bool mightBeRichText(const QString &text)
Poor man's version of Qt::mightBeRichText() (cannot link to QtGui).
Definition: kuitsemantics.cpp:1589
#define SETUP_ROL(rol, name, fmt, cues)
QChar toLower() const
Definition: kuitsemantics.cpp:109
Definition: kuitsemantics.cpp:108
Definition: kuitsemantics.cpp:109
Definition: kuitsemantics.cpp:84
Definition: kuitsemantics.cpp:113
QStringRef name() const
bool isStartElement() const
Definition: kuitsemantics.cpp:83
Definition: kuitsemantics.cpp:120
QString mid(int position, int n) const
Definition: kuitsemantics.cpp:94
Definition: kuitsemantics.cpp:111
Definition: kuitsemantics.cpp:110
bool hasError() const
Definition: kuitsemantics.cpp:110
bool isEmpty() const
virtual QString resolveUndeclaredEntity(const QString &name)
const QChar at(int position) const
T & last()
Definition: kuitsemantics.cpp:110
#define SETUP_TAG(tag, name, atts, subs)
Definition: kuitsemantics.cpp:109
#define SETUP_CUE(cue, name)
Definition: kuitsemantics.cpp:102
QStringRef text() const
#define SETUP_ATT(att, name)
Definition: kuitsemantics.cpp:120
int length() const
Definition: kuitsemantics.cpp:94
void reserve(int size)
Definition: kuitsemantics.cpp:84
Definition: kuitsemantics.cpp:114
QString left(int n) const
Definition: kuitsemantics.cpp:85
QList< T > toList() const
QXmlStreamAttributes attributes() const
QString fromLatin1(const char *str, int size)
Definition: kuitsemantics.cpp:111
Definition: kuitsemantics.cpp:84
QStringRef value() const
int size() const
Definition: kuitsemantics.cpp:84
Definition: kuitsemantics.cpp:114
#define INLINES
QStringRef name() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
Definition: kuitsemantics.cpp:120
Definition: kuitsemantics.cpp:85
Definition: kuitsemantics.cpp:114
Definition: kuitsemantics.cpp:112
Definition: kuitsemantics.cpp:83
Definition: kuitsemantics.cpp:95
Definition: kuitsemantics.cpp:102
#define I18N_NOOP2(ctxt, msg)
bool isEndElement() const
T & top()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.