KoVariableStringFormat Class Reference
#include <KoVariable.h>
Inheritance diagram for KoVariableStringFormat:
Public Member Functions | |
| virtual TQString | convert (const TQVariant &data) const |
| virtual TQCString | key () const |
| virtual TQCString | getKey (const TQString &props) const |
| virtual void | load (const TQCString &) |
| Public Member Functions inherited from KoVariableFormat | |
| virtual void | setFormatProperties (const TQString &) |
| virtual TQString | formatProperties () const |
| virtual TQStringList | formatPropsList () const |
| virtual TQStringList | translatedFormatPropsList () const |
Detailed Description
Implementation of the string format.
Definition at line 234 of file KoVariable.h.
Constructor & Destructor Documentation
◆ KoVariableStringFormat()
|
inline |
Definition at line 237 of file KoVariable.h.
Member Function Documentation
◆ convert()
|
virtual |
Use this format to convert a piece of data into a string.
Implements KoVariableFormat.
Definition at line 395 of file KoVariable.cpp.
◆ getKey()
|
virtual |
- Returns
- the key for a given set of properties. Use this key to lookup the format in the "variable format" collection.
- Parameters
-
props properties of this format, e.g. DD/MM/YYYY for a date format.
Implements KoVariableFormat.
Definition at line 412 of file KoVariable.cpp.
◆ key()
|
virtual |
Return a key describing this format.
Used for the flyweight pattern in KoVariableFormatCollection
Implements KoVariableFormat.
Definition at line 406 of file KoVariable.cpp.
◆ load()
|
inlinevirtual |
Create a format from this key.
Implements KoVariableFormat.
Definition at line 241 of file KoVariable.h.
The documentation for this class was generated from the following files:
