ConfigString Class Reference

Option of the string type. More...

#include <config.h>

Inheritance diagram for ConfigString:

ConfigOption List of all members.

Public Types

enum  WidgetType { String, File, Dir }

Public Member Functions

 ConfigString (const char *name, const char *doc)
 ~ConfigString ()
void setWidgetType (WidgetType w)
WidgetType widgetType () const
void setDefaultValue (const char *v)
QCString * valueRef ()
void writeTemplate (QTextStream &t, bool sl, bool)
void substEnvVars ()
void init ()

Detailed Description

Option of the string type.

Definition at line 181 of file config.h.


Member Enumeration Documentation

enum ConfigString::WidgetType

Enumerator:
String 
File 
Dir 

Definition at line 184 of file config.h.


Constructor & Destructor Documentation

ConfigString::ConfigString ( const char *  name,
const char *  doc 
) [inline]

Definition at line 185 of file config.h.

References ConfigOption::m_doc, ConfigOption::m_name, and String.

ConfigString::~ConfigString (  )  [inline]

Definition at line 192 of file config.h.


Member Function Documentation

void ConfigString::setWidgetType ( WidgetType  w  )  [inline]

Definition at line 195 of file config.h.

Referenced by Config::create().

WidgetType ConfigString::widgetType (  )  const [inline]

Definition at line 196 of file config.h.

void ConfigString::setDefaultValue ( const char *  v  )  [inline]

Definition at line 197 of file config.h.

Referenced by Config::create().

QCString* ConfigString::valueRef (  )  [inline]

Definition at line 198 of file config.h.

void ConfigString::writeTemplate ( QTextStream &  t,
bool  sl,
bool   
) [inline, virtual]

Implements ConfigOption.

Definition at line 199 of file config.h.

References ConfigOption::convertToComment(), ConfigOption::m_doc, ConfigOption::m_name, ConfigOption::m_spaces, ConfigOption::MAX_OPTION_LENGTH, and ConfigOption::writeStringValue().

void ConfigString::substEnvVars (  )  [virtual]

Implements ConfigOption.

Definition at line 2770 of file config.cpp.

void ConfigString::init (  )  [inline, virtual]

Reimplemented from ConfigOption.

Definition at line 212 of file config.h.


The documentation for this class was generated from the following files:



Generated on Mon Mar 31 10:58:57 2008 by  doxygen 1.5.1