KDevelop API Documentation

CppCodeCompletionConfig Class Reference

#include <cppcodecompletionconfig.h>

Inheritance diagram for CppCodeCompletionConfig:

QObject List of all members.

Public Slots

void store ()

Signals

void stored ()

Public Member Functions

 CppCodeCompletionConfig (CppSupportPart *part, QDomDocument *dom)
virtual ~CppCodeCompletionConfig ()
bool includeGlobalFunctions () const
void setIncludeGlobalFunctions (bool b)
bool includeTypes () const
void setIncludeTypes (bool b)
bool includeEnums () const
void setIncludeEnums (bool b)
bool includeTypedefs () const
void setIncludeTypedefs (bool b)
bool automaticCodeCompletion () const
void setAutomaticCodeCompletion (bool b)
bool automaticArgumentsHint () const
void setAutomaticArgumentsHint (bool b)
bool automaticHeaderCompletion () const
void setAutomaticHeaderCompletion (bool b)
int codeCompletionDelay () const
void setCodeCompletionDelay (int delay)
int argumentsHintDelay () const
void setArgumentsHintDelay (int delay)
int headerCompletionDelay () const
void setHeaderCompletionDelay (int delay)

Private Member Functions

void init ()

Private Attributes

CppSupportPartm_part
QDomDocumentm_dom
bool m_includeGlobalFunctions
bool m_includeTypes
bool m_includeEnums
bool m_includeTypedefs
bool m_automaticCodeCompletion
bool m_automaticArgumentsHint
bool m_automaticHeaderCompletion
int m_codeCompletionDelay
int m_argumentsHintDelay
int m_headerCompletionDelay

Static Private Attributes

QString defaultPath = QString::fromLatin1( "/kdevcppsupport/codecompletion" )

Detailed Description

Author:
Roberto Raggi

Definition at line 24 of file cppcodecompletionconfig.h.


Constructor & Destructor Documentation

CppCodeCompletionConfig::CppCodeCompletionConfig CppSupportPart part,
QDomDocument dom
 

Definition at line 23 of file cppcodecompletionconfig.cpp.

References CppCodeCompletionConfig(), and init().

Referenced by CppCodeCompletionConfig().

CppCodeCompletionConfig::~CppCodeCompletionConfig  )  [virtual]
 

Definition at line 29 of file cppcodecompletionconfig.cpp.


Member Function Documentation

int CppCodeCompletionConfig::argumentsHintDelay  )  const [inline]
 

Definition at line 87 of file cppcodecompletionconfig.h.

References m_argumentsHintDelay.

Referenced by CCConfigWidget::initCodeCompletionTab().

bool CppCodeCompletionConfig::automaticArgumentsHint  )  const [inline]
 

Definition at line 66 of file cppcodecompletionconfig.h.

References m_automaticArgumentsHint.

Referenced by CCConfigWidget::initCodeCompletionTab().

bool CppCodeCompletionConfig::automaticCodeCompletion  )  const [inline]
 

Definition at line 59 of file cppcodecompletionconfig.h.

References m_automaticCodeCompletion.

Referenced by CCConfigWidget::initCodeCompletionTab().

bool CppCodeCompletionConfig::automaticHeaderCompletion  )  const [inline]
 

Definition at line 73 of file cppcodecompletionconfig.h.

References m_automaticHeaderCompletion.

int CppCodeCompletionConfig::codeCompletionDelay  )  const [inline]
 

Definition at line 80 of file cppcodecompletionconfig.h.

References m_codeCompletionDelay.

Referenced by CCConfigWidget::initCodeCompletionTab().

int CppCodeCompletionConfig::headerCompletionDelay  )  const [inline]
 

Definition at line 94 of file cppcodecompletionconfig.h.

References m_headerCompletionDelay.

bool CppCodeCompletionConfig::includeEnums  )  const [inline]
 

Definition at line 45 of file cppcodecompletionconfig.h.

References m_includeEnums.

Referenced by CppCodeCompletion::computeCompletionEntryList(), and CCConfigWidget::initCodeCompletionTab().

bool CppCodeCompletionConfig::includeGlobalFunctions  )  const [inline]
 

Definition at line 31 of file cppcodecompletionconfig.h.

References m_includeGlobalFunctions.

Referenced by CppCodeCompletion::computeCompletionEntryList(), and CCConfigWidget::initCodeCompletionTab().

bool CppCodeCompletionConfig::includeTypedefs  )  const [inline]
 

Definition at line 52 of file cppcodecompletionconfig.h.

References m_includeTypedefs.

Referenced by CppCodeCompletion::computeCompletionEntryList(), and CCConfigWidget::initCodeCompletionTab().

bool CppCodeCompletionConfig::includeTypes  )  const [inline]
 

Definition at line 38 of file cppcodecompletionconfig.h.

References m_includeTypes.

Referenced by CppCodeCompletion::computeCompletionEntryList(), and CCConfigWidget::initCodeCompletionTab().

void CppCodeCompletionConfig::init  )  [private]
 

Definition at line 33 of file cppcodecompletionconfig.cpp.

References defaultPath, m_argumentsHintDelay, m_automaticArgumentsHint, m_automaticCodeCompletion, m_automaticHeaderCompletion, m_codeCompletionDelay, m_dom, m_headerCompletionDelay, m_includeEnums, m_includeGlobalFunctions, m_includeTypedefs, and m_includeTypes.

Referenced by CppCodeCompletionConfig().

void CppCodeCompletionConfig::setArgumentsHintDelay int  delay  ) 
 

Definition at line 93 of file cppcodecompletionconfig.cpp.

References m_argumentsHintDelay, and setArgumentsHintDelay().

Referenced by CCConfigWidget::saveCodeCompletionTab(), and setArgumentsHintDelay().

void CppCodeCompletionConfig::setAutomaticArgumentsHint bool  b  ) 
 

Definition at line 83 of file cppcodecompletionconfig.cpp.

References m_automaticArgumentsHint, and setAutomaticArgumentsHint().

Referenced by CCConfigWidget::saveCodeCompletionTab(), and setAutomaticArgumentsHint().

void CppCodeCompletionConfig::setAutomaticCodeCompletion bool  b  ) 
 

Definition at line 78 of file cppcodecompletionconfig.cpp.

References m_automaticCodeCompletion, and setAutomaticCodeCompletion().

Referenced by CCConfigWidget::saveCodeCompletionTab(), and setAutomaticCodeCompletion().

void CppCodeCompletionConfig::setAutomaticHeaderCompletion bool  b  ) 
 

Definition at line 108 of file cppcodecompletionconfig.cpp.

References m_automaticHeaderCompletion, and setAutomaticHeaderCompletion().

Referenced by setAutomaticHeaderCompletion().

void CppCodeCompletionConfig::setCodeCompletionDelay int  delay  ) 
 

Definition at line 88 of file cppcodecompletionconfig.cpp.

References m_codeCompletionDelay, and setCodeCompletionDelay().

Referenced by CCConfigWidget::saveCodeCompletionTab(), and setCodeCompletionDelay().

void CppCodeCompletionConfig::setHeaderCompletionDelay int  delay  ) 
 

Definition at line 103 of file cppcodecompletionconfig.cpp.

References m_headerCompletionDelay, and setHeaderCompletionDelay().

Referenced by setHeaderCompletionDelay().

void CppCodeCompletionConfig::setIncludeEnums bool  b  ) 
 

Definition at line 68 of file cppcodecompletionconfig.cpp.

References m_includeEnums, and setIncludeEnums().

Referenced by CCConfigWidget::saveCodeCompletionTab(), and setIncludeEnums().

void CppCodeCompletionConfig::setIncludeGlobalFunctions bool  b  ) 
 

Definition at line 98 of file cppcodecompletionconfig.cpp.

References m_includeGlobalFunctions, and setIncludeGlobalFunctions().

Referenced by CCConfigWidget::saveCodeCompletionTab(), and setIncludeGlobalFunctions().

void CppCodeCompletionConfig::setIncludeTypedefs bool  b  ) 
 

Definition at line 73 of file cppcodecompletionconfig.cpp.

References m_includeTypedefs, and setIncludeTypedefs().

Referenced by CCConfigWidget::saveCodeCompletionTab(), and setIncludeTypedefs().

void CppCodeCompletionConfig::setIncludeTypes bool  b  ) 
 

Definition at line 63 of file cppcodecompletionconfig.cpp.

References m_includeTypes, and setIncludeTypes().

Referenced by CCConfigWidget::saveCodeCompletionTab(), and setIncludeTypes().

void CppCodeCompletionConfig::store  )  [slot]
 

Definition at line 47 of file cppcodecompletionconfig.cpp.

References defaultPath, m_argumentsHintDelay, m_automaticArgumentsHint, m_automaticCodeCompletion, m_automaticHeaderCompletion, m_codeCompletionDelay, m_dom, m_headerCompletionDelay, m_includeEnums, m_includeGlobalFunctions, m_includeTypedefs, m_includeTypes, and stored().

Referenced by CppSupportPart::projectClosed(), and CCConfigWidget::saveCodeCompletionTab().

void CppCodeCompletionConfig::stored  )  [signal]
 

Referenced by store().


Member Data Documentation

QString CppCodeCompletionConfig::defaultPath = QString::fromLatin1( "/kdevcppsupport/codecompletion" ) [static, private]
 

Definition at line 21 of file cppcodecompletionconfig.cpp.

Referenced by init(), and store().

int CppCodeCompletionConfig::m_argumentsHintDelay [private]
 

Definition at line 121 of file cppcodecompletionconfig.h.

Referenced by argumentsHintDelay(), init(), setArgumentsHintDelay(), and store().

bool CppCodeCompletionConfig::m_automaticArgumentsHint [private]
 

Definition at line 118 of file cppcodecompletionconfig.h.

Referenced by automaticArgumentsHint(), init(), setAutomaticArgumentsHint(), and store().

bool CppCodeCompletionConfig::m_automaticCodeCompletion [private]
 

Definition at line 117 of file cppcodecompletionconfig.h.

Referenced by automaticCodeCompletion(), init(), setAutomaticCodeCompletion(), and store().

bool CppCodeCompletionConfig::m_automaticHeaderCompletion [private]
 

Definition at line 119 of file cppcodecompletionconfig.h.

Referenced by automaticHeaderCompletion(), init(), setAutomaticHeaderCompletion(), and store().

int CppCodeCompletionConfig::m_codeCompletionDelay [private]
 

Definition at line 120 of file cppcodecompletionconfig.h.

Referenced by codeCompletionDelay(), init(), setCodeCompletionDelay(), and store().

QDomDocument* CppCodeCompletionConfig::m_dom [private]
 

Definition at line 112 of file cppcodecompletionconfig.h.

Referenced by init(), and store().

int CppCodeCompletionConfig::m_headerCompletionDelay [private]
 

Definition at line 122 of file cppcodecompletionconfig.h.

Referenced by headerCompletionDelay(), init(), setHeaderCompletionDelay(), and store().

bool CppCodeCompletionConfig::m_includeEnums [private]
 

Definition at line 115 of file cppcodecompletionconfig.h.

Referenced by includeEnums(), init(), setIncludeEnums(), and store().

bool CppCodeCompletionConfig::m_includeGlobalFunctions [private]
 

Definition at line 113 of file cppcodecompletionconfig.h.

Referenced by includeGlobalFunctions(), init(), setIncludeGlobalFunctions(), and store().

bool CppCodeCompletionConfig::m_includeTypedefs [private]
 

Definition at line 116 of file cppcodecompletionconfig.h.

Referenced by includeTypedefs(), init(), setIncludeTypedefs(), and store().

bool CppCodeCompletionConfig::m_includeTypes [private]
 

Definition at line 114 of file cppcodecompletionconfig.h.

Referenced by includeTypes(), init(), setIncludeTypes(), and store().

CppSupportPart* CppCodeCompletionConfig::m_part [private]
 

Definition at line 111 of file cppcodecompletionconfig.h.


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:00 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003