My Project
|
#include <configimpl.h>
Public Types | |
enum | WidgetType { String, File, Dir, Image } |
Public Types inherited from ConfigOption | |
enum | OptionType { O_Info, O_List, O_Enum, O_String, O_Int, O_Bool, O_Obsolete, O_Disabled } |
enum | { MAX_OPTION_LENGTH = 23 } |
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 (FTextStream &t, bool sl, bool) |
void | substEnvVars () |
void | init () |
Public Member Functions inherited from ConfigOption | |
ConfigOption (OptionType t) | |
virtual | ~ConfigOption () |
OptionType | kind () const |
QCString | name () const |
QCString | docs () const |
QCString | dependsOn () const |
void | addDependency (const char *dep) |
void | setEncoding (const QCString &e) |
void | setUserComment (const QCString &u) |
Private Attributes | |
QCString | m_value |
QCString | m_defValue |
WidgetType | m_widgetType |
Additional Inherited Members | |
Protected Member Functions inherited from ConfigOption | |
virtual void | convertStrToVal () |
void | writeBoolValue (FTextStream &t, bool v) |
void | writeIntValue (FTextStream &t, int i) |
void | writeStringValue (FTextStream &t, QCString &s) |
void | writeStringList (FTextStream &t, QStrList &l) |
Protected Attributes inherited from ConfigOption | |
QCString | m_spaces |
QCString | m_name |
QCString | m_doc |
QCString | m_dependency |
QCString | m_encoding |
QCString | m_userComment |
OptionType | m_kind |
Class representing a string type option.
Definition at line 166 of file configimpl.h.
|
inline |
Definition at line 170 of file configimpl.h.
References doc, ConfigOption::m_doc, ConfigOption::m_name, m_widgetType, ConfigOption::name(), and String.
|
inline |
Definition at line 177 of file configimpl.h.
|
inlinevirtual |
Reimplemented from ConfigOption.
Definition at line 186 of file configimpl.h.
References m_defValue, and m_value.
|
inline |
|
inline |
|
virtual |
Implements ConfigOption.
|
inline |
|
inline |
|
virtual |
Implements ConfigOption.
|
private |
Definition at line 190 of file configimpl.h.
Referenced by init(), and setDefaultValue().
|
private |
Definition at line 189 of file configimpl.h.
Referenced by init(), and valueRef().
|
private |
Definition at line 191 of file configimpl.h.
Referenced by ConfigString(), setWidgetType(), and widgetType().