Kate
katesyntaxmanager.cpp
Go to the documentation of this file.
60 bool compareKateHighlighting(const KateHighlighting* const left, const KateHighlighting* const right)
338 settings<<(p->hasProperty(QTextFormat::ForegroundBrush)?QString::number(p->foreground().color().rgb(),16):"");
339 settings<<(p->hasProperty(KTextEditor::Attribute::SelectedForeground)?QString::number(p->selectedForeground().color().rgb(),16):"");
344 settings<<(p->hasProperty(QTextFormat::BackgroundBrush)?QString::number(p->background().color().rgb(),16):"-");
345 settings<<(p->hasProperty(KTextEditor::Attribute::SelectedBackground)?QString::number(p->selectedBackground().color().rgb(),16):"-");
QBrush background(BackgroundRole=NormalBackground) const
bool compareKateHighlighting(const KateHighlighting *const left, const KateHighlighting *const right)
Definition: katesyntaxmanager.cpp:60
Definition: katesyntaxmanager.h:48
QScriptValue i18nc(QScriptContext *context, QScriptEngine *engine)
i18nc("context", "text", arguments [optional])
Definition: katescripthelpers.cpp:210
QString nameForIdentifier(const QString &)
Returns the mode name for a given identifier, as e.g.
Definition: katesyntaxmanager.cpp:388
QBrush selectedForeground() const
void writeEntry(const QString &key, const QVariant &value, WriteConfigFlags pFlags=Normal)
void changed()
void setSelectedForeground(const QBrush &foreground)
KSharedConfigPtr config()
bool fontBold() const
const QString & nameTranslated() const
Definition: katehighlight.h:154
static QString defaultStyleName(int n, bool translateNames=false)
Definition: katesyntaxmanager.cpp:132
QBrush foreground(ForegroundRole=NormalText) const
void setSelectedBackground(const QBrush &brush)
void setDefaults(const QString &schema, KateAttributeList &, KConfig *cfg=0)
Definition: katesyntaxmanager.cpp:327
void setFontBold(bool bold=true)
Store and manage the information about Syntax Highlighting.
Definition: katesyntaxdocument.h:73
#define KATE_DYNAMIC_CONTEXTS_RESET_DELAY
Definition: katehighlight.h:55
QBrush selectedBackground() const
Definition: katehighlight.h:119
void getDefaults(const QString &schema, KateAttributeList &, KConfig *cfg=0)
Definition: katesyntaxmanager.cpp:177
QString identifierForName(const QString &)
Definition: katesyntaxmanager.cpp:380
T readEntry(const QString &key, const T &aDefault) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.