KDevelop API Documentation

QEditorSettings Class Reference

#include <qeditor_settings.h>

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(), m_config, and QEditorSettings().

Referenced by QEditorSettings().

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.

References m_completeWordWithSpace.

Referenced by QEditorCodeCompletion::eventFilter().

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

Definition at line 40 of file qeditor_settings.h.

References m_config.

KConfig* QEditorSettings::config  )  [inline]
 

Definition at line 39 of file qeditor_settings.h.

References m_config.

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(), and readConfig().

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

bool QEditorSettings::parenthesesMatching  )  const [inline]
 

Definition at line 57 of file qeditor_settings.h.

References m_parenthesesMatching.

void QEditorSettings::readConfig  )  [inline]
 

Definition at line 42 of file qeditor_settings.h.

References init().

Referenced by QEditorPart::readConfig().

QEditorSettings * QEditorSettings::self  )  [static]
 

Definition at line 54 of file qeditor_settings.cpp.

References config(), and m_self.

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, setCompleteWordWithSpace(), KConfigBase::sync(), and KConfigBase::writeEntry().

Referenced by setCompleteWordWithSpace().

void QEditorSettings::setParenthesesMatching bool  enable  ) 
 

Definition at line 89 of file qeditor_settings.cpp.

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

Referenced by setParenthesesMatching().

void QEditorSettings::setShowCodeFoldingMarkers bool  enable  ) 
 

Definition at line 116 of file qeditor_settings.cpp.

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

Referenced by setShowCodeFoldingMarkers().

void QEditorSettings::setShowLineNumber bool  enable  ) 
 

Definition at line 107 of file qeditor_settings.cpp.

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

Referenced by setShowLineNumber().

void QEditorSettings::setShowMarkers bool  enable  ) 
 

Definition at line 98 of file qeditor_settings.cpp.

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

Referenced by setShowMarkers().

void QEditorSettings::setTabStop int  tabStop  ) 
 

Definition at line 71 of file qeditor_settings.cpp.

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

Referenced by setTabStop().

void QEditorSettings::setWordWrap bool  enable  ) 
 

Definition at line 62 of file qeditor_settings.cpp.

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

Referenced by setWordWrap().

bool QEditorSettings::showCodeFoldingMarkers  )  const [inline]
 

Definition at line 66 of file qeditor_settings.h.

References m_showCodeFoldingMarkers.

bool QEditorSettings::showLineNumber  )  const [inline]
 

Definition at line 63 of file qeditor_settings.h.

References m_showLineNumber.

bool QEditorSettings::showMarkers  )  const [inline]
 

Definition at line 60 of file qeditor_settings.h.

References m_showMarkers.

int QEditorSettings::tabStop  )  const [inline]
 

Definition at line 51 of file qeditor_settings.h.

References m_tabStop.

bool QEditorSettings::wordWrap  )  const [inline]
 

Definition at line 48 of file qeditor_settings.h.

References m_wordWrap.

Referenced by QEditor::configChanged().


Member Data Documentation

bool QEditorSettings::m_completeWordWithSpace [private]
 

Definition at line 74 of file qeditor_settings.h.

Referenced by completeWordWithSpace(), init(), and setCompleteWordWithSpace().

KConfig* QEditorSettings::m_config [private]
 

Definition at line 71 of file qeditor_settings.h.

Referenced by config(), 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(), parenthesesMatching(), 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(), setShowCodeFoldingMarkers(), and showCodeFoldingMarkers().

bool QEditorSettings::m_showLineNumber [private]
 

Definition at line 77 of file qeditor_settings.h.

Referenced by init(), setShowLineNumber(), and showLineNumber().

bool QEditorSettings::m_showMarkers [private]
 

Definition at line 76 of file qeditor_settings.h.

Referenced by init(), setShowMarkers(), and showMarkers().

int QEditorSettings::m_tabStop [private]
 

Definition at line 73 of file qeditor_settings.h.

Referenced by init(), setTabStop(), and tabStop().

bool QEditorSettings::m_wordWrap [private]
 

Definition at line 72 of file qeditor_settings.h.

Referenced by init(), setWordWrap(), and wordWrap().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:06 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003