• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Kate

KateRendererConfig Class Reference

#include <kateconfig.h>

Inheritance diagram for KateRendererConfig:

Inheritance graph
[legend]

List of all members.


Public Member Functions

const QColor & backgroundColor () const
const QFont & font () const
const QFontMetrics & fontMetrics () const
const QColor & highlightedBracketColor () const
const QColor & highlightedLineColor () const
const QColor & iconBarColor () const
bool isGlobal () const
 KateRendererConfig (KateRenderer *renderer)
const QColor & lineMarkerColor (KTextEditor::MarkInterface::MarkTypes type=KTextEditor::MarkInterface::markType01) const
const QColor & lineNumberColor () const
void readConfig (const KConfigGroup &config)
void reloadSchema ()
const QString & schema () const
const QColor & selectionColor () const
void setBackgroundColor (const QColor &col)
void setFont (const QFont &font)
void setHighlightedBracketColor (const QColor &col)
void setHighlightedLineColor (const QColor &col)
void setIconBarColor (const QColor &col)
void setLineMarkerColor (const QColor &col, KTextEditor::MarkInterface::MarkTypes type=KTextEditor::MarkInterface::markType01)
void setLineNumberColor (const QColor &col)
void setSchema (const QString &schema)
void setSelectionColor (const QColor &col)
void setShowIndentationLines (bool on)
void setShowWholeBracketExpression (bool on)
void setTabMarkerColor (const QColor &col)
void setWordWrapMarker (bool on)
void setWordWrapMarkerColor (const QColor &col)
bool showIndentationLines () const
bool showWholeBracketExpression () const
const QColor & tabMarkerColor () const
const QColor & templateBackgroundColor () const
const QColor & templateEditablePlaceholderColor () const
const QColor & templateFocusedEditablePlaceholderColor () const
const QColor & templateNotEditablePlaceholderColor () const
bool wordWrapMarker () const
const QColor & wordWrapMarkerColor () const
void writeConfig (KConfigGroup &config)
 ~KateRendererConfig ()

Static Public Member Functions

static KateRendererConfig * global ()

Protected Member Functions

void updateConfig ()

Detailed Description

Definition at line 424 of file kateconfig.h.


Constructor & Destructor Documentation

KateRendererConfig::KateRendererConfig ( KateRenderer *  renderer  ) 

Construct a DocumentConfig.

Definition at line 1138 of file kateconfig.cpp.

KateRendererConfig::~KateRendererConfig (  ) 

Cu DocumentConfig.

Definition at line 1162 of file kateconfig.cpp.


Member Function Documentation

const QColor & KateRendererConfig::backgroundColor (  )  const

Definition at line 1349 of file kateconfig.cpp.

const QFont & KateRendererConfig::font (  )  const

Definition at line 1304 of file kateconfig.cpp.

const QFontMetrics & KateRendererConfig::fontMetrics (  )  const

Definition at line 1312 of file kateconfig.cpp.

static KateRendererConfig* KateRendererConfig::global (  )  [inline, static]

Definition at line 446 of file kateconfig.h.

const QColor & KateRendererConfig::highlightedBracketColor (  )  const

Definition at line 1433 of file kateconfig.cpp.

const QColor & KateRendererConfig::highlightedLineColor (  )  const

Definition at line 1385 of file kateconfig.cpp.

const QColor & KateRendererConfig::iconBarColor (  )  const

Definition at line 1487 of file kateconfig.cpp.

bool KateRendererConfig::isGlobal (  )  const [inline]

Definition at line 448 of file kateconfig.h.

const QColor & KateRendererConfig::lineMarkerColor ( KTextEditor::MarkInterface::MarkTypes  type = KTextEditor::MarkInterface::markType01  )  const

Definition at line 1403 of file kateconfig.cpp.

const QColor & KateRendererConfig::lineNumberColor (  )  const

Definition at line 1532 of file kateconfig.cpp.

void KateRendererConfig::readConfig ( const KConfigGroup &  config  ) 

Read config from object.

Definition at line 1166 of file kateconfig.cpp.

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 1224 of file kateconfig.cpp.

const QString & KateRendererConfig::schema (  )  const

Definition at line 1207 of file kateconfig.cpp.

const QColor & KateRendererConfig::selectionColor (  )  const

Definition at line 1367 of file kateconfig.cpp.

void KateRendererConfig::setBackgroundColor ( const QColor &  col  ) 

Definition at line 1357 of file kateconfig.cpp.

void KateRendererConfig::setFont ( const QFont &  font  ) 

Definition at line 1320 of file kateconfig.cpp.

void KateRendererConfig::setHighlightedBracketColor ( const QColor &  col  ) 

Definition at line 1441 of file kateconfig.cpp.

void KateRendererConfig::setHighlightedLineColor ( const QColor &  col  ) 

Definition at line 1393 of file kateconfig.cpp.

void KateRendererConfig::setIconBarColor ( const QColor &  col  ) 

Definition at line 1495 of file kateconfig.cpp.

void KateRendererConfig::setLineMarkerColor ( const QColor &  col,
KTextEditor::MarkInterface::MarkTypes  type = KTextEditor::MarkInterface::markType01 
)

Definition at line 1421 of file kateconfig.cpp.

void KateRendererConfig::setLineNumberColor ( const QColor &  col  ) 

Definition at line 1540 of file kateconfig.cpp.

void KateRendererConfig::setSchema ( const QString &  schema  ) 

Definition at line 1215 of file kateconfig.cpp.

void KateRendererConfig::setSelectionColor ( const QColor &  col  ) 

Definition at line 1375 of file kateconfig.cpp.

void KateRendererConfig::setShowIndentationLines ( bool  on  ) 

Definition at line 1558 of file kateconfig.cpp.

void KateRendererConfig::setShowWholeBracketExpression ( bool  on  ) 

Definition at line 1576 of file kateconfig.cpp.

void KateRendererConfig::setTabMarkerColor ( const QColor &  col  ) 

Definition at line 1477 of file kateconfig.cpp.

void KateRendererConfig::setWordWrapMarker ( bool  on  ) 

Definition at line 1339 of file kateconfig.cpp.

void KateRendererConfig::setWordWrapMarkerColor ( const QColor &  col  ) 

Definition at line 1459 of file kateconfig.cpp.

bool KateRendererConfig::showIndentationLines (  )  const

Definition at line 1550 of file kateconfig.cpp.

bool KateRendererConfig::showWholeBracketExpression (  )  const

Definition at line 1568 of file kateconfig.cpp.

const QColor & KateRendererConfig::tabMarkerColor (  )  const

Definition at line 1469 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateBackgroundColor (  )  const

Definition at line 1506 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateEditablePlaceholderColor (  )  const

Definition at line 1512 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateFocusedEditablePlaceholderColor (  )  const

Definition at line 1518 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateNotEditablePlaceholderColor (  )  const

Definition at line 1524 of file kateconfig.cpp.

void KateRendererConfig::updateConfig (  )  [protected, virtual]

do the real update

Implements KateConfig.

Definition at line 1192 of file kateconfig.cpp.

bool KateRendererConfig::wordWrapMarker (  )  const

Definition at line 1331 of file kateconfig.cpp.

const QColor & KateRendererConfig::wordWrapMarkerColor (  )  const

Definition at line 1451 of file kateconfig.cpp.

void KateRendererConfig::writeConfig ( KConfigGroup &  config  ) 

Write config to object.

Definition at line 1181 of file kateconfig.cpp.


The documentation for this class was generated from the following files:
  • kateconfig.h
  • kateconfig.cpp

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal