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>Go to the source code of this file.
Namespaces | |
| namespace | Kuit |
| namespace | Kuit::Att |
| namespace | Kuit::Cue |
| namespace | Kuit::Fmt |
| namespace | Kuit::Rol |
| namespace | Kuit::Tag |
Macros | |
| #define | ENTITY_SUBRX "[a-z]+|#[0-9]+|#x[0-9a-fA-F]+" |
| #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) |
| #define | SET_KEYNAME(rawname) |
| #define | SET_PATTERN(tag, atts, fmt, ctxt_ptrn) |
| #define | SETUP_ATT(att, name) |
| #define | SETUP_CUE(cue, name) |
| #define | SETUP_FMT(fmt, name) |
| #define | SETUP_ROL(rol, name, fmt, cues) |
| #define | SETUP_ROLCUEFMT(rol, cue, fmt) |
| #define | SETUP_TAG(tag, name, atts, subs) |
| #define | SETUP_TAG_NL(tag, nlead) |
| #define | XXXX_NOOP2(ctxt, msg) ctxt, msg |
Typedefs | |
| typedef Att::Var | Kuit::AttVar |
| typedef Cue::Var | Kuit::CueVar |
| typedef Fmt::Var | Kuit::FmtVar |
| typedef Rol::Var | Kuit::RolVar |
| typedef Tag::Var | Kuit::TagVar |
Functions | |
| static QString | shorten (const QString &str) |
Macro Definition Documentation
◆ ENTITY_SUBRX
Definition at line 1110 of file kuitsemantics.cpp.
◆ I18N_NOOP2 [1/3]
| #define I18N_NOOP2 | ( | ctxt, | |
| msg ) ctxt, msg |
◆ I18N_NOOP2 [2/3]
| #define I18N_NOOP2 | ( | ctxt, | |
| msg ) metaTr(ctxt, msg) |
◆ I18N_NOOP2 [3/3]
| #define I18N_NOOP2 | ( | ctxt, | |
| msg ) msg |
◆ INLINES
| #define INLINES |
Value:
Filename << Link << Application << Command << Resource << Icode << \
Shortcut << Interface << Emphasis << Placeholder << Email << \
Numid << Envar << Nl
◆ QL1S
| #define QL1S | ( | x | ) | QLatin1String(x) |
Definition at line 39 of file kuitsemantics.cpp.
◆ SET_KEYNAME
◆ SET_PATTERN
Value:
do { \
QSet<AttVar> aset; \
int akey = attSetKey(aset); \
m_patterns[tag][akey][fmt] = pattern; \
/* Make Term pattern same as Plain, unless explicitly given. */ \
m_patterns[tag][akey][Fmt::Term] = pattern; \
} \
} while (0)
◆ SETUP_ATT
Value:
do { \
knownAtts.insert(QString::fromLatin1(name), Kuit::Att::att); \
} while (0)
◆ SETUP_CUE
Value:
do { \
knownCues.insert(QString::fromLatin1(name), Kuit::Cue::cue); \
} while (0)
◆ SETUP_FMT
Value:
do { \
knownFmts.insert(QString::fromLatin1(name), Kuit::Fmt::fmt); \
} while (0)
◆ SETUP_ROL
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)
Definition kuitsemantics.cpp:106
◆ SETUP_ROLCUEFMT
Value:
do { \
defFmts[Kuit::Rol::rol][Kuit::Cue::cue] = Kuit::Fmt::fmt; \
} while (0)
◆ SETUP_TAG
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)
Definition kuitsemantics.cpp:91
Definition kuitsemantics.cpp:80
◆ SETUP_TAG_NL
Value:
◆ XXXX_NOOP2
| #define XXXX_NOOP2 | ( | ctxt, | |
| msg ) ctxt, msg |
Function Documentation
◆ shorten()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.