kate Library API Documentation

KateRendererConfig Class Reference

Inheritance diagram for KateRendererConfig:

Inheritance graph
[legend]
Collaboration diagram for KateRendererConfig:

Collaboration graph
[legend]
List of all members.

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 ()
KateFontStructfontStruct ()
QFontfont ()
KateFontMetricsfontMetrics ()
void setFont (const QFont &font)
bool wordWrapMarker () const
void setWordWrapMarker (bool on)
const QColorbackgroundColor () const
void setBackgroundColor (const QColor &col)
const QColorselectionColor () const
void setSelectionColor (const QColor &col)
const QColorhighlightedLineColor () const
void setHighlightedLineColor (const QColor &col)
const QColorlineMarkerColor (KTextEditor::MarkInterface::MarkTypes type=KTextEditor::MarkInterface::markType01) const
void setLineMarkerColor (const QColor &col, KTextEditor::MarkInterface::MarkTypes type=KTextEditor::MarkInterface::markType01)
const QColorhighlightedBracketColor () const
void setHighlightedBracketColor (const QColor &col)
const QColorwordWrapMarkerColor () const
void setWordWrapMarkerColor (const QColor &col)
const QColortabMarkerColor () const
void setTabMarkerColor (const QColor &col)
const QColoriconBarColor () const
void setIconBarColor (const QColor &col)
const QColorlineNumberColor () const
void setLineNumberColor (const QColor &col)

Static Public Member Functions

static KateRendererConfigglobal ()

Protected Member Functions

void updateConfig ()

Friends

class KateFactory

Detailed Description

Definition at line 399 of file kateconfig.h.


Constructor & Destructor Documentation

KateRendererConfig::KateRendererConfig KateRenderer renderer  ) 
 

Construct a DocumentConfig.

Definition at line 981 of file kateconfig.cpp.

References QBitArray::fill().

KateRendererConfig::~KateRendererConfig  ) 
 

Cu DocumentConfig.

Definition at line 1002 of file kateconfig.cpp.


Member Function Documentation

void KateRendererConfig::readConfig KConfig config  ) 
 

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().

void KateRendererConfig::writeConfig KConfig config  ) 
 

Write config to object.

Definition at line 1018 of file kateconfig.cpp.

References schema(), KateFactory::self(), wordWrapMarker(), and KConfigBase::writeEntry().

Referenced by KateDocument::writeConfig().

void KateRendererConfig::updateConfig  )  [protected, virtual]
 

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().

void KateRendererConfig::reloadSchema  ) 
 

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:
KDE Logo
This file is part of the documentation for kate Library Version 3.4.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Oct 9 08:13:20 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003