KoCustomVariable Class Reference
A custom variable is a variable whose value is entered by the user. More...
#include <kovariable.h>
Inheritance diagram for KoCustomVariable:

Public Member Functions | |
KoCustomVariable (KoTextDocument *textdoc, const QString &name, KoVariableFormat *varFormat, KoVariableCollection *_varcoll) | |
virtual VariableType | type () const |
virtual void | saveVariable (QDomElement &parentElem) |
virtual void | load (QDomElement &elem) |
QString | name () const |
virtual void | recalc () |
virtual QString | fieldCode () |
virtual QString | text (bool realValue=false) |
QString | value () const |
void | setValue (const QString &v) |
Static Public Member Functions | |
QStringList | actionTexts () |
Detailed Description
A custom variable is a variable whose value is entered by the user.
Definition at line 512 of file kovariable.h.
Member Function Documentation
|
Variable should reimplement this to implement saving.
Implements KoVariable. Definition at line 1218 of file kovariable.cc. |
|
Returns the text to be displayed for this variable It doesn't need to be cached, convert() is fast, and it's the actual value (date, time etc.) that is cached in the variable already.
Reimplemented from KoVariable. Definition at line 1208 of file kovariable.cc. |
The documentation for this class was generated from the following files: