lib

KoVariableCollection Class Reference

List of all members.

Detailed Description

Definition at line 292 of file KoVariable.h.


Public Member Functions

 KoVariableCollection (KoVariableSettings *settings, KoVariableFormatCollection *formatCollection)
 ~KoVariableCollection ()
void registerVariable (KoVariable *var)
void unregisterVariable (KoVariable *var)
QValueList< KoVariable * > recalcVariables (int type)
void setVariableValue (const QString &name, const QString &value)
QString getVariableValue (const QString &name) const
const QPtrList< KoVariable > & getVariables () const
void clear ()
bool customVariableExist (const QString &varname) const
virtual KoVariablecreateVariable (int type, short int subtype, KoVariableFormatCollection *coll, KoVariableFormat *varFormat, KoTextDocument *textdoc, KoDocument *doc, int _correct, bool _forceDefaultFormat=false, bool loadFootNote=true)
virtual KoVariableloadOasisField (KoTextDocument *textdoc, const QDomElement &tag, KoOasisContext &context)
virtual KoVariableloadOasisFieldCreateVariable (KoTextDocument *textdoc, const QDomElement &tag, KoOasisContext &context, const QString &key, int type)
KoVariableSettingsvariableSetting () const
KoVariableFormatCollectionformatCollection () const
void setVariableSelected (KoVariable *var)
KoVariableselectedVariable () const
QPtrList< KActionpopupActionList () const

Protected Slots

void slotChangeSubType ()
void slotChangeFormat ()

Member Function Documentation

KoVariable * KoVariableCollection::loadOasisField ( KoTextDocument textdoc,
const QDomElement &  tag,
KoOasisContext context 
) [virtual]

Load variable from OASIS file format (called "field" in the OASIS format).

Definition at line 747 of file KoVariable.cpp.

void KoVariableCollection::setVariableSelected ( KoVariable var  ) 

Variable that's under the popupmenu.

Definition at line 567 of file KoVariable.cpp.

QPtrList< KAction > KoVariableCollection::popupActionList (  )  const

List of KActions to put into the popupmenu on a variable.

Definition at line 573 of file KoVariable.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys