KDevelop API Documentation

ConfigBool Class Reference

Option of the boolean type. More...

#include <config.h>

Inheritance diagram for ConfigBool:

Inheritance graph
[legend]
Collaboration diagram for ConfigBool:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ConfigBool (const char *name, const char *doc, bool defVal)
QCStringvalueStringRef ()
boolvalueRef ()
void convertStrToVal ()
void substEnvVars ()
void setValueString (const QCString &v)
void writeTemplate (QTextStream &t, bool sl, bool upd)
void init ()

Private Attributes

bool m_value
bool m_defValue
QCString m_valueString

Detailed Description

Option of the boolean type.

Definition at line 270 of file config.h.


Constructor & Destructor Documentation

ConfigBool::ConfigBool const char *  name,
const char *  doc,
bool  defVal
[inline]
 

Definition at line 273 of file config.h.

References m_defValue, and m_value.


Member Function Documentation

void ConfigBool::convertStrToVal  )  [virtual]
 

Reimplemented from ConfigOption.

Definition at line 674 of file config.cpp.

References config_warn(), m_value, and m_valueString.

void ConfigBool::init  )  [inline, virtual]
 

Reimplemented from ConfigOption.

Definition at line 305 of file config.h.

References m_value.

void ConfigBool::setValueString const QCString v  )  [inline]
 

Definition at line 285 of file config.h.

References m_valueString.

Referenced by DoxygenPart::adjustDoxyfile().

void ConfigBool::substEnvVars  )  [virtual]
 

Implements ConfigOption.

bool* ConfigBool::valueRef  )  [inline]
 

Definition at line 282 of file config.h.

QCString* ConfigBool::valueStringRef  )  [inline]
 

Definition at line 281 of file config.h.

void ConfigBool::writeTemplate QTextStream t,
bool  sl,
bool  upd
[inline, virtual]
 

Implements ConfigOption.

Definition at line 286 of file config.h.

References ConfigOption::convertToComment(), m_value, m_valueString, ConfigOption::writeBoolValue(), and ConfigOption::writeStringValue().


Member Data Documentation

bool ConfigBool::m_defValue [private]
 

Definition at line 308 of file config.h.

Referenced by ConfigBool().

bool ConfigBool::m_value [private]
 

Definition at line 307 of file config.h.

Referenced by ConfigBool(), convertStrToVal(), init(), and writeTemplate().

QCString ConfigBool::m_valueString [private]
 

Definition at line 309 of file config.h.

Referenced by convertStrToVal(), setValueString(), and writeTemplate().


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 Wed Mar 23 00:20:52 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003