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 <klocale.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 1083 of file kuitsemantics.cpp.
| #define I18N_NOOP2 | ( | ctxt, | |
| msg | |||
| ) | ctxt, msg |
| #define I18N_NOOP2 | ( | ctxt, | |
| msg | |||
| ) | metaTr(ctxt, msg) |
| #define I18N_NOOP2 | ( | ctxt, | |
| msg | |||
| ) | msg |
| #define INLINES |
| #define QL1S | ( | x | ) | QLatin1String(x) |
Definition at line 39 of file kuitsemantics.cpp.
| #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.insert(QString::fromLatin1(name), Kuit::Att::att); \ } while (0)
| #define SETUP_CUE | ( | cue, | |
| name | |||
| ) |
Value:
do { \ knownCues.insert(QString::fromLatin1(name), Kuit::Cue::cue); \ } while (0)
| #define SETUP_FMT | ( | fmt, | |
| name | |||
| ) |
Value:
do { \ knownFmts.insert(QString::fromLatin1(name), Kuit::Fmt::fmt); \ } while (0)
| #define SETUP_ROL | ( | rol, | |
| name, | |||
| fmt, | |||
| cues | |||
| ) |
Value:
do { \ knownRols.insert(QString::fromLatin1(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 | |||
| ) |
Value:
do { \ knownTags.insert(QString::fromLatin1(name), Kuit::Tag::tag); \ tagNames.insert(Kuit::Tag::tag, QString::fromLatin1(name)); \ { \ using namespace Kuit::Att; \ tagAtts[Kuit::Tag::tag] << atts; \ } \ { \ using namespace Kuit::Tag; \ tagSubs[Kuit::Tag::tag] << subs << NumIntg << NumReal; \ } \ } while (0)
| #define SETUP_TAG_NL | ( | tag, | |
| nlead | |||
| ) |
Value:
do { \ leadingNewlines.insert(Kuit::Tag::tag, nlead); \ } while (0)
| #define XXXX_NOOP2 | ( | ctxt, | |
| msg | |||
| ) | ctxt, msg |
Function Documentation
Definition at line 44 of file kuitsemantics.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 17:05:55 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 17:05:55 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.