ConfigList Class Reference

Option of the list type. More...

#include <config.h>

Inheritance diagram for ConfigList:

ConfigOption List of all members.

Public Types

enum  WidgetType { String, File, Dir, FileAndDir }

Public Member Functions

 ConfigList (const char *name, const char *doc)
void addValue (const char *v)
void setWidgetType (WidgetType w)
WidgetType widgetType () const
QStrList * valueRef ()
void writeTemplate (QTextStream &t, bool sl, bool)
void substEnvVars ()
void init ()

Detailed Description

Option of the list type.

Definition at line 103 of file config.h.


Member Enumeration Documentation

enum ConfigList::WidgetType

Enumerator:
String 
File 
Dir 
FileAndDir 

Definition at line 106 of file config.h.


Constructor & Destructor Documentation

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

Definition at line 107 of file config.h.

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


Member Function Documentation

void ConfigList::addValue ( const char *  v  )  [inline]

Definition at line 114 of file config.h.

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

Definition at line 115 of file config.h.

Referenced by Config::create().

WidgetType ConfigList::widgetType (  )  const [inline]

Definition at line 116 of file config.h.

QStrList* ConfigList::valueRef (  )  [inline]

Definition at line 117 of file config.h.

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

Implements ConfigOption.

Definition at line 118 of file config.h.

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

void ConfigList::substEnvVars (  )  [virtual]

Implements ConfigOption.

Definition at line 2775 of file config.cpp.

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

Reimplemented from ConfigOption.

Definition at line 131 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