• Skip to content
  • Skip to link menu
KDE 4.0 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.


Detailed Description

Definition at line 404 of file kateconfig.h.


Public Member Functions

 KateRendererConfig (KateRenderer *renderer)
 ~KateRendererConfig ()
bool isGlobal () const
void readConfig (const KConfigGroup &config)
void writeConfig (KConfigGroup &config)
const QString & schema () const
void setSchema (const QString &schema)
void reloadSchema ()
const QFont & font () const
const QFontMetrics & fontMetrics () const
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)
bool showIndentationLines () const
void setShowIndentationLines (bool on)
const QColor & templateBackgroundColor () const
const QColor & templateEditablePlaceholderColor () const
const QColor & templateFocusedEditablePlaceholderColor () const
const QColor & templateNotEditablePlaceholderColor () const

Static Public Member Functions

static KateRendererConfig * global ()

Protected Member Functions

void updateConfig ()

Friends

class KateGlobal

Constructor & Destructor Documentation

KateRendererConfig::KateRendererConfig ( KateRenderer *  renderer  ) 

Construct a DocumentConfig.

Definition at line 1018 of file kateconfig.cpp.

KateRendererConfig::~KateRendererConfig (  ) 

Cu DocumentConfig.

Definition at line 1041 of file kateconfig.cpp.


Member Function Documentation

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

Definition at line 426 of file kateconfig.h.

bool KateRendererConfig::isGlobal (  )  const [inline]

Definition at line 428 of file kateconfig.h.

void KateRendererConfig::readConfig ( const KConfigGroup &  config  ) 

Read config from object.

Definition at line 1045 of file kateconfig.cpp.

void KateRendererConfig::writeConfig ( KConfigGroup &  config  ) 

Write config to object.

Definition at line 1058 of file kateconfig.cpp.

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

do the real update

Implements KateConfig.

Definition at line 1067 of file kateconfig.cpp.

const QString & KateRendererConfig::schema (  )  const

Definition at line 1082 of file kateconfig.cpp.

void KateRendererConfig::setSchema ( const QString &  schema  ) 

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

const QFont & KateRendererConfig::font (  )  const

Definition at line 1180 of file kateconfig.cpp.

const QFontMetrics & KateRendererConfig::fontMetrics (  )  const

Definition at line 1188 of file kateconfig.cpp.

void KateRendererConfig::setFont ( const QFont &  font  ) 

Definition at line 1196 of file kateconfig.cpp.

bool KateRendererConfig::wordWrapMarker (  )  const

Definition at line 1207 of file kateconfig.cpp.

void KateRendererConfig::setWordWrapMarker ( bool  on  ) 

Definition at line 1215 of file kateconfig.cpp.

const QColor & KateRendererConfig::backgroundColor (  )  const

Definition at line 1225 of file kateconfig.cpp.

void KateRendererConfig::setBackgroundColor ( const QColor &  col  ) 

Definition at line 1233 of file kateconfig.cpp.

const QColor & KateRendererConfig::selectionColor (  )  const

Definition at line 1243 of file kateconfig.cpp.

void KateRendererConfig::setSelectionColor ( const QColor &  col  ) 

Definition at line 1251 of file kateconfig.cpp.

const QColor & KateRendererConfig::highlightedLineColor (  )  const

Definition at line 1261 of file kateconfig.cpp.

void KateRendererConfig::setHighlightedLineColor ( const QColor &  col  ) 

Definition at line 1269 of file kateconfig.cpp.

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

Definition at line 1279 of file kateconfig.cpp.

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

Definition at line 1297 of file kateconfig.cpp.

const QColor & KateRendererConfig::highlightedBracketColor (  )  const

Definition at line 1309 of file kateconfig.cpp.

void KateRendererConfig::setHighlightedBracketColor ( const QColor &  col  ) 

Definition at line 1317 of file kateconfig.cpp.

const QColor & KateRendererConfig::wordWrapMarkerColor (  )  const

Definition at line 1327 of file kateconfig.cpp.

void KateRendererConfig::setWordWrapMarkerColor ( const QColor &  col  ) 

Definition at line 1335 of file kateconfig.cpp.

const QColor & KateRendererConfig::tabMarkerColor (  )  const

Definition at line 1345 of file kateconfig.cpp.

void KateRendererConfig::setTabMarkerColor ( const QColor &  col  ) 

Definition at line 1353 of file kateconfig.cpp.

const QColor & KateRendererConfig::iconBarColor (  )  const

Definition at line 1363 of file kateconfig.cpp.

void KateRendererConfig::setIconBarColor ( const QColor &  col  ) 

Definition at line 1371 of file kateconfig.cpp.

const QColor & KateRendererConfig::lineNumberColor (  )  const

Definition at line 1408 of file kateconfig.cpp.

void KateRendererConfig::setLineNumberColor ( const QColor &  col  ) 

Definition at line 1416 of file kateconfig.cpp.

bool KateRendererConfig::showIndentationLines (  )  const

Definition at line 1426 of file kateconfig.cpp.

void KateRendererConfig::setShowIndentationLines ( bool  on  ) 

Definition at line 1434 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateBackgroundColor (  )  const

Definition at line 1382 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateEditablePlaceholderColor (  )  const

Definition at line 1388 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateFocusedEditablePlaceholderColor (  )  const

Definition at line 1394 of file kateconfig.cpp.

const QColor & KateRendererConfig::templateNotEditablePlaceholderColor (  )  const

Definition at line 1400 of file kateconfig.cpp.


Friends And Related Function Documentation

friend class KateGlobal [friend]

Definition at line 407 of file kateconfig.h.


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
  •   WTF
  • KJSEmbed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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