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

Kate

KateRendererConfig Class Reference

#include <kateconfig.h>

Inheritance diagram for KateRendererConfig:
KateConfig

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 434 of file kateconfig.h.


Constructor & Destructor Documentation

KateRendererConfig::KateRendererConfig ( KateRenderer *  renderer  ) 

Construct a DocumentConfig.

Definition at line 1182 of file kateconfig.cpp.

KateRendererConfig::~KateRendererConfig (  ) 

Cu DocumentConfig.

Definition at line 1206 of file kateconfig.cpp.


Member Function Documentation

const QColor & KateRendererConfig::backgroundColor (  )  const

Definition at line 1393 of file kateconfig.cpp.

const QFont & KateRendererConfig::font (  )  const

Definition at line 1348 of file kateconfig.cpp.

const QFontMetrics & KateRendererConfig::fontMetrics (  )  const

Definition at line 1356 of file kateconfig.cpp.

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

Definition at line 456 of file kateconfig.h.

const QColor & KateRendererConfig::highlightedBracketColor (  )  const

Definition at line 1477 of file kateconfig.cpp.

const QColor & KateRendererConfig::highlightedLineColor (  )  const

Definition at line 1429 of file kateconfig.cpp.

const QColor & KateRendererConfig::iconBarColor (  )  const

Definition at line 1531 of file kateconfig.cpp.

bool KateRendererConfig::isGlobal (  )  const [inline]

Definition at line 458 of file kateconfig.h.

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

Definition at line 1447 of file kateconfig.cpp.

const QColor & KateRendererConfig::lineNumberColor (  )  const

Definition at line 1576 of file kateconfig.cpp.

void KateRendererConfig::readConfig ( const KConfigGroup &  config  ) 

Read config from object.

Definition at line 1210 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 1268 of file kateconfig.cpp.

const QString & KateRendererConfig::schema (  )  const

Definition at line 1251 of file kateconfig.cpp.

const QColor & KateRendererConfig::selectionColor (  )  const

Definition at line 1411 of file kateconfig.cpp.

void KateRendererConfig::setBackgroundColor ( const QColor &  col  ) 

Definition at line 1401 of file kateconfig.cpp.

void KateRendererConfig::setFont ( const QFont &  font  ) 

Definition at line 1364 of file kateconfig.cpp.

void KateRendererConfig::setHighlightedBracketColor ( const QColor &  col  ) 

Definition at line 1485 of file kateconfig.cpp.

void KateRendererConfig::setHighlightedLineColor ( const QColor &  col  ) 

Definition at line 1437 of file kateconfig.cpp.

void KateRendererConfig::setIconBarColor ( const QColor &  col  ) 

Definition at line 1539 of file kateconfig.cpp.

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

Definition at line 1465 of file kateconfig.cpp.

void KateRendererConfig::setLineNumberColor ( const QColor &  col  ) 

Definition at line 1584 of file kateconfig.cpp.

void KateRendererConfig::setSchema ( const QString &  schema  ) 

Definition at line 1259 of file kateconfig.cpp.

void KateRendererConfig::setSelectionColor ( const QColor &  col  ) 

Definition at line 1419 of file kateconfig.cpp.

void KateRendererConfig::setShowIndentationLines ( bool  on  ) 

Definition at line 1602 of file kateconfig.cpp.

void KateRendererConfig::setShowWholeBracketExpression ( bool  on  ) 

Definition at line 1620 of file kateconfig.cpp.

void KateRendererConfig::setTabMarkerColor ( const QColor &  col  ) 

Definition at line 1521 of file kateconfig.cpp.

void KateRendererConfig::setWordWrapMarker ( bool  on  ) 

Definition at line 1383 of file kateconfig.cpp.

void KateRendererConfig::setWordWrapMarkerColor ( const QColor &  col  ) 

Definition at line 1503 of file kateconfig.cpp.

bool KateRendererConfig::showIndentationLines (  )  const

Definition at line 1594 of file kateconfig.cpp.

bool KateRendererConfig::showWholeBracketExpression (  )  const

Definition at line 1612 of file kateconfig.cpp.

const QColor & KateRendererConfig::tabMarkerColor (  )  const

Definition at line 1513 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateBackgroundColor (  )  const

Definition at line 1550 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateEditablePlaceholderColor (  )  const

Definition at line 1556 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateFocusedEditablePlaceholderColor (  )  const

Definition at line 1562 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateNotEditablePlaceholderColor (  )  const

Definition at line 1568 of file kateconfig.cpp.

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

do the real update

Implements KateConfig.

Definition at line 1236 of file kateconfig.cpp.

bool KateRendererConfig::wordWrapMarker (  )  const

Definition at line 1375 of file kateconfig.cpp.

const QColor & KateRendererConfig::wordWrapMarkerColor (  )  const

Definition at line 1495 of file kateconfig.cpp.

void KateRendererConfig::writeConfig ( KConfigGroup &  config  ) 

Write config to object.

Definition at line 1225 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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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