#include <KoVariable.h>
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 &) |
| virtual void | setFormatProperties (const TQString &props) |
| virtual TQString | formatProperties () const |
| virtual TQStringList | formatPropsList () const |
| virtual TQStringList | translatedFormatPropsList () const |
Static Public Member Functions | |
| static TQStringList | staticFormatPropsList () |
| static TQStringList | staticTranslatedFormatPropsList () |
Detailed Description
Implementation of the "time" formats.
Definition at line 201 of file KoVariable.h.
Constructor & Destructor Documentation
◆ KoVariableTimeFormat()
| KoVariableTimeFormat::KoVariableTimeFormat | ( | ) |
Definition at line 331 of file KoVariable.cpp.
Member Function Documentation
◆ convert()
|
virtual |
Use this format to convert a piece of data into a string.
Implements KoVariableFormat.
Definition at line 342 of file KoVariable.cpp.
◆ formatProperties()
|
inlinevirtual |
- Returns
- the format string (e.g. hh:mm:ss)
Reimplemented from KoVariableFormat.
Definition at line 215 of file KoVariable.h.
◆ formatPropsList()
|
inlinevirtual |
- Returns
- the list of available properties strings (e.g. hh:mm:ss)
Reimplemented from KoVariableFormat.
Definition at line 218 of file KoVariable.h.
◆ 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 361 of file KoVariable.cpp.
◆ key()
|
virtual |
Return a key describing this format.
Used for the flyweight pattern in KoVariableFormatCollection
Implements KoVariableFormat.
Definition at line 356 of file KoVariable.cpp.
◆ load()
|
virtual |
Create a format from this key.
Implements KoVariableFormat.
Definition at line 335 of file KoVariable.cpp.
◆ setFormatProperties()
|
inlinevirtual |
Set the format string (e.g. hh:mm:ss).
Reimplemented from KoVariableFormat.
Definition at line 211 of file KoVariable.h.
◆ staticFormatPropsList()
|
static |
Definition at line 368 of file KoVariable.cpp.
◆ staticTranslatedFormatPropsList()
|
static |
Definition at line 381 of file KoVariable.cpp.
◆ translatedFormatPropsList()
|
inlinevirtual |
- Returns
- the translated version of the list of format properties
Reimplemented from KoVariableFormat.
Definition at line 221 of file KoVariable.h.
The documentation for this class was generated from the following files:
