KDECore
kuitsemantics.cpp File Reference
#include <kuitsemantics_p.h>
#include <config.h>
#include <QHash>
#include <QSet>
#include <QRegExp>
#include <QStack>
#include <QXmlStreamReader>
#include <QStringList>
#include <QPair>
#include <QDir>
#include <kdebug.h>
#include <kglobal.h>
#include <kcatalog_p.h>
#include <kuitformats_p.h>
#include <ktranslit_p.h>
#include <kconfiggroup.h>
Include dependency graph for kuitsemantics.cpp:

Go to the source code of this file.
Define Documentation
#define ENTITY_SUBRX "[a-z]+|#[0-9]+|#x[0-9a-fA-F]+" |
Definition at line 1199 of file kuitsemantics.cpp.
#define I18N_NOOP2 | ( | ctxt, | |||
msg | ) | msg |
#define I18N_NOOP2 | ( | ctxt, | |||
msg | ) | metaTr(ctxt, msg) |
#define I18N_NOOP2 | ( | ctxt, | |||
msg | ) | ctxt, msg |
#define INLINES |
#define SET_KEYNAME | ( | rawname | ) |
#define SET_PATTERN | ( | tag, | |||
atts, | |||||
fmt, | |||||
ctxt_ptrn | ) |
Value:
do { \ QSet<AttVar> aset; \ aset << atts; \ int akey = attSetKey(aset); \ QString pattern = metaTr(ctxt_ptrn); \ m_patterns[tag][akey][fmt] = pattern; \ /* Make Term pattern same as Plain, unless explicitly given. */ \ if (fmt == Fmt::Plain && !m_patterns[tag][akey].contains(Fmt::Term)) { \ m_patterns[tag][akey][Fmt::Term] = pattern; \ } \ } while (0)
#define SETUP_ATT | ( | att, | |||
name | ) |
Value:
do { \ knownAtts[name] = Kuit::Att::att; \ } while (0)
#define SETUP_CUE | ( | cue, | |||
name | ) |
Value:
do { \ knownCues[name] = Kuit::Cue::cue; \ } while (0)
#define SETUP_FMT | ( | fmt, | |||
name | ) |
Value:
do { \ knownFmts[name] = Kuit::Fmt::fmt; \ } while (0)
#define SETUP_NUMFMT | ( | numfmt, | |||
name | ) |
Value:
do { \ knownNumfmts[name] = Kuit::Numfmt::numfmt; \ } while (0)
#define SETUP_ROL | ( | rol, | |||
name, | |||||
fmt, | |||||
cues | ) |
Value:
do { \ knownRols[name] = Kuit::Rol::rol; \ defFmts[Kuit::Rol::rol][Kuit::Cue::None] = Kuit::Fmt::fmt; \ { \ using namespace Kuit::Cue; \ rolCues[Kuit::Rol::rol] << cues; \ } \ } while (0)
#define SETUP_ROLCUEFMT | ( | rol, | |||
cue, | |||||
fmt | ) |
Value:
do { \ defFmts[Kuit::Rol::rol][Kuit::Cue::cue] = Kuit::Fmt::fmt; \ } while (0)
#define SETUP_TAG | ( | tag, | |||
name, | |||||
atts, | |||||
subs | ) |
#define SETUP_TAG_NL | ( | tag, | |||
nlead | ) |
Value:
do { \ leadingNewlines[Kuit::Tag::tag] = nlead; \ } while (0)
#define XXXX_NOOP2 | ( | ctxt, | |||
msg | ) | ctxt, msg |
Function Documentation
static Kuit::NumfmtVar parseNumberFormat | ( | const QString & | fmtstr | ) | [static] |
Definition at line 817 of file kuitsemantics.cpp.
Definition at line 41 of file kuitsemantics.cpp.