KateRendererConfig Class Reference
Inheritance diagram for KateRendererConfig:

Public Member Functions | |
KateRendererConfig (KateRenderer *renderer) | |
~KateRendererConfig () | |
bool | isGlobal () const |
void | readConfig (KConfig *config) |
void | writeConfig (KConfig *config) |
uint | schema () const |
void | setSchema (uint schema) |
void | reloadSchema () |
KateFontStruct * | fontStruct () |
QFont * | font () |
KateFontMetrics * | fontMetrics () |
void | setFont (const QFont &font) |
bool | wordWrapMarker () const |
void | setWordWrapMarker (bool on) |
const QColor & | backgroundColor () const |
void | setBackgroundColor (const QColor &col) |
const QColor & | selectionColor () const |
void | setSelectionColor (const QColor &col) |
const QColor & | highlightedLineColor () const |
void | setHighlightedLineColor (const QColor &col) |
const QColor & | lineMarkerColor (KTextEditor::MarkInterface::MarkTypes type=KTextEditor::MarkInterface::markType01) const |
void | setLineMarkerColor (const QColor &col, KTextEditor::MarkInterface::MarkTypes type=KTextEditor::MarkInterface::markType01) |
const QColor & | highlightedBracketColor () const |
void | setHighlightedBracketColor (const QColor &col) |
const QColor & | wordWrapMarkerColor () const |
void | setWordWrapMarkerColor (const QColor &col) |
const QColor & | tabMarkerColor () const |
void | setTabMarkerColor (const QColor &col) |
const QColor & | iconBarColor () const |
void | setIconBarColor (const QColor &col) |
const QColor & | lineNumberColor () const |
void | setLineNumberColor (const QColor &col) |
Static Public Member Functions | |
static KateRendererConfig * | global () |
Protected Member Functions | |
void | updateConfig () |
Friends | |
class | KateFactory |
Detailed Description
Definition at line 399 of file kateconfig.h.
Constructor & Destructor Documentation
|
Construct a DocumentConfig.
Definition at line 981 of file kateconfig.cpp. References QBitArray::fill(). |
|
Cu DocumentConfig.
Definition at line 1002 of file kateconfig.cpp. |
Member Function Documentation
|
Read config from object.
Definition at line 1007 of file kateconfig.cpp. References KateConfig::configEnd(), KateConfig::configStart(), KateSchemaManager::normalSchema(), KConfigBase::readBoolEntry(), KConfigBase::readEntry(), KateFactory::self(), setSchema(), and setWordWrapMarker(). Referenced by KateDocument::readConfig(). |
|
Write config to object.
Definition at line 1018 of file kateconfig.cpp. References schema(), KateFactory::self(), wordWrapMarker(), and KConfigBase::writeEntry(). Referenced by KateDocument::writeConfig(). |
|
do the real update
Implements KateConfig. Definition at line 1025 of file kateconfig.cpp. References QPtrList::at(), isGlobal(), KateFactory::renderers(), KateFactory::self(), and KateRenderer::updateConfig(). |
|
Reload the schema from the schema manager. For the global instance, have all other instances reload. Used by the schema config page to apply changes. Definition at line 1059 of file kateconfig.cpp. References QPtrList::at(), isGlobal(), KateFactory::renderers(), and KateFactory::self(). Referenced by KateSchemaConfigPage::apply(). |
The documentation for this class was generated from the following files: