edbee - Qt Editor Library
|
A class that specifies a dynamic variabele with a scope selector. More...
#include <dynamicvariables.h>
Public Member Functions | |
ScopedDynamicVariable (const QVariant &value, TextScopeSelector *selector=0) | |
constructs a dynamic variable More... | |
virtual | ~ScopedDynamicVariable () |
destructs the variable More... | |
virtual double | score (TextScopeList *scopes) const |
returns the score for the location More... | |
TextScopeSelector * | selector () const |
returns the active selector More... | |
Public Member Functions inherited from edbee::BasicDynamicVariable | |
BasicDynamicVariable (const QVariant &value) | |
Constructs a basic dynamic (read static :P ) variable. More... | |
virtual QVariant | value () const |
returns value of the variable More... | |
Public Member Functions inherited from edbee::DynamicVariable | |
virtual | ~DynamicVariable () |
empty virtual destructor More... | |
A class that specifies a dynamic variabele with a scope selector.
edbee::ScopedDynamicVariable::ScopedDynamicVariable | ( | const QVariant & | value, |
TextScopeSelector * | selector = 0 |
||
) |
constructs a dynamic variable
value | the value of the variable |
selector | (default=0) the selector to use. This class takes ownership of the selector!! |
|
virtual |
destructs the variable
|
virtual |
returns the score for the location
TextScopeSelector * edbee::ScopedDynamicVariable::selector | ( | ) | const |
returns the active selector