KDEUI
KStyle::OptionBase< EventualSubtype, BaseType > Struct Template Reference
[KStyle option representation]
#include <kstyle.h>
Inheritance diagram for KStyle::OptionBase< EventualSubtype, BaseType >:

Detailed Description
template<typename EventualSubtype, typename BaseType>
struct KStyle::OptionBase< EventualSubtype, BaseType >
Intermediatary base that helps implement subtypes of Option that properly handle defaults.
EventualSubtype --- the type of option which will be implemented by inheritting of this class
BaseType --- the type of option from which this should inherit
Definition at line 191 of file kstyle.h.
Static Public Member Functions | |
static EventualSubtype * | defaultOption () |
Member Function Documentation
template<typename EventualSubtype, typename BaseType>
static EventualSubtype* KStyle::OptionBase< EventualSubtype, BaseType >::defaultOption | ( | ) | [inline, static] |
Default value for this option.
Uses the default constructor of EventualSubtype to create the option.
Reimplemented in KStyle::OptionBase< KStyle::TextOption, KStyle::ColorOption >.
The documentation for this struct was generated from the following file: