KDevelop API Documentation

QEditorSettings Class Reference

#include <qeditor_settings.h>

Collaboration diagram for QEditorSettings:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ~QEditorSettings ()
KConfigconfig ()
const KConfigconfig () const
void readConfig ()
QString generalGroup () const
bool wordWrap () const
void setWordWrap (bool enable)
int tabStop () const
void setTabStop (int tabStop)
bool completeWordWithSpace () const
void setCompleteWordWithSpace (bool enable)
bool parenthesesMatching () const
void setParenthesesMatching (bool enable)
bool showMarkers () const
void setShowMarkers (bool enable)
bool showLineNumber () const
void setShowLineNumber (bool enable)
bool showCodeFoldingMarkers () const
void setShowCodeFoldingMarkers (bool enable)

Static Public Member Functions

QEditorSettingsself ()

Protected Member Functions

 QEditorSettings (KConfig *config)
void init ()

Private Member Functions

 QEditorSettings (const QEditorSettings &)
void operator= (const QEditorSettings &)

Private Attributes

KConfigm_config
bool m_wordWrap
int m_tabStop
bool m_completeWordWithSpace
bool m_parenthesesMatching
bool m_showMarkers
bool m_showLineNumber
bool m_showCodeFoldingMarkers

Static Private Attributes

QEditorSettingsm_self = 0

Constructor & Destructor Documentation

QEditorSettings::QEditorSettings KConfig config  )  [protected]
 

Definition at line 29 of file qeditor_settings.cpp.

References init(), and m_config.

Referenced by self().

QEditorSettings::~QEditorSettings  ) 
 

Definition at line 35 of file qeditor_settings.cpp.

QEditorSettings::QEditorSettings const QEditorSettings  )  [private]
 


Member Function Documentation

bool QEditorSettings::completeWordWithSpace  )  const [inline]
 

Definition at line 54 of file qeditor_settings.h.

Referenced by QEditorCodeCompletion::eventFilter().

const KConfig* QEditorSettings::config  )  const [inline]
 

Definition at line 40 of file qeditor_settings.h.

KConfig* QEditorSettings::config  )  [inline]
 

Definition at line 39 of file qeditor_settings.h.

Referenced by QEditorPart::configDialog(), and self().

QString QEditorSettings::generalGroup  )  const [inline]
 

Definition at line 45 of file qeditor_settings.h.

Referenced by init(), setCompleteWordWithSpace(), setParenthesesMatching(), setShowCodeFoldingMarkers(), setShowLineNumber(), setShowMarkers(), setTabStop(), and setWordWrap().

void QEditorSettings::init  )  [protected]
 

Definition at line 39 of file qeditor_settings.cpp.

References generalGroup(), m_completeWordWithSpace, m_config, m_parenthesesMatching, m_showCodeFoldingMarkers, m_showLineNumber, m_showMarkers, m_tabStop, m_wordWrap, KConfigBase::readBoolEntry(), KConfigBase::readNumEntry(), and KConfigBase::setGroup().

Referenced by QEditorSettings().

void QEditorSettings::operator= const QEditorSettings  )  [private]
 

bool QEditorSettings::parenthesesMatching  )  const [inline]
 

Definition at line 57 of file qeditor_settings.h.

void QEditorSettings::readConfig  )  [inline]
 

Definition at line 42 of file qeditor_settings.h.

Referenced by QEditorPart::readConfig().

QEditorSettings * QEditorSettings::self  )  [static]
 

Definition at line 54 of file qeditor_settings.cpp.

References config(), m_self, and QEditorSettings().

Referenced by QEditor::configChanged(), QEditorPart::configDialog(), QEditorCodeCompletion::eventFilter(), and QEditorPart::readConfig().

void QEditorSettings::setCompleteWordWithSpace bool  enable  ) 
 

Definition at line 80 of file qeditor_settings.cpp.

References generalGroup(), m_completeWordWithSpace, m_config, KConfigBase::sync(), and KConfigBase::writeEntry().

void QEditorSettings::setParenthesesMatching bool  enable  ) 
 

Definition at line 89 of file qeditor_settings.cpp.

References generalGroup(), m_config, m_parenthesesMatching, KConfigBase::sync(), and KConfigBase::writeEntry().

void QEditorSettings::setShowCodeFoldingMarkers bool  enable  ) 
 

Definition at line 116 of file qeditor_settings.cpp.

References generalGroup(), m_config, m_showCodeFoldingMarkers, KConfigBase::sync(), and KConfigBase::writeEntry().

void QEditorSettings::setShowLineNumber bool  enable  ) 
 

Definition at line 107 of file qeditor_settings.cpp.

References generalGroup(), m_config, m_showLineNumber, KConfigBase::sync(), and KConfigBase::writeEntry().

void QEditorSettings::setShowMarkers bool  enable  ) 
 

Definition at line 98 of file qeditor_settings.cpp.

References generalGroup(), m_config, m_showMarkers, KConfigBase::sync(), and KConfigBase::writeEntry().

void QEditorSettings::setTabStop int  tabStop  ) 
 

Definition at line 71 of file qeditor_settings.cpp.

References generalGroup(), m_config, m_tabStop, KConfigBase::sync(), and KConfigBase::writeEntry().

void QEditorSettings::setWordWrap bool  enable  ) 
 

Definition at line 62 of file qeditor_settings.cpp.

References generalGroup(), m_config, m_wordWrap, KConfigBase::sync(), and KConfigBase::writeEntry().

bool QEditorSettings::showCodeFoldingMarkers  )  const [inline]
 

Definition at line 66 of file qeditor_settings.h.

bool QEditorSettings::showLineNumber  )  const [inline]
 

Definition at line 63 of file qeditor_settings.h.

bool QEditorSettings::showMarkers  )  const [inline]
 

Definition at line 60 of file qeditor_settings.h.

int QEditorSettings::tabStop  )  const [inline]
 

Definition at line 51 of file qeditor_settings.h.

bool QEditorSettings::wordWrap  )  const [inline]
 

Definition at line 48 of file qeditor_settings.h.

Referenced by QEditor::configChanged().


Member Data Documentation

bool QEditorSettings::m_completeWordWithSpace [private]
 

Definition at line 74 of file qeditor_settings.h.

Referenced by init(), and setCompleteWordWithSpace().

KConfig* QEditorSettings::m_config [private]
 

Definition at line 71 of file qeditor_settings.h.

Referenced by init(), QEditorSettings(), setCompleteWordWithSpace(), setParenthesesMatching(), setShowCodeFoldingMarkers(), setShowLineNumber(), setShowMarkers(), setTabStop(), and setWordWrap().

bool QEditorSettings::m_parenthesesMatching [private]
 

Definition at line 75 of file qeditor_settings.h.

Referenced by init(), and setParenthesesMatching().

QEditorSettings * QEditorSettings::m_self = 0 [static, private]
 

Definition at line 27 of file qeditor_settings.cpp.

Referenced by self().

bool QEditorSettings::m_showCodeFoldingMarkers [private]
 

Definition at line 78 of file qeditor_settings.h.

Referenced by init(), and setShowCodeFoldingMarkers().

bool QEditorSettings::m_showLineNumber [private]
 

Definition at line 77 of file qeditor_settings.h.

Referenced by init(), and setShowLineNumber().

bool QEditorSettings::m_showMarkers [private]
 

Definition at line 76 of file qeditor_settings.h.

Referenced by init(), and setShowMarkers().

int QEditorSettings::m_tabStop [private]
 

Definition at line 73 of file qeditor_settings.h.

Referenced by init(), and setTabStop().

bool QEditorSettings::m_wordWrap [private]
 

Definition at line 72 of file qeditor_settings.h.

Referenced by init(), and setWordWrap().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:46:28 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003