kspread
KSpread::Currency Class Reference
List of all members.Detailed Description
Definition at line 745 of file kspread_format.h.
Public Types | |
enum | currencyFormat { Native, Gnumeric, OpenCalc, ApplixSpread, GobeProductiveSpread, HancomSheet } |
Public Member Functions | |
Currency () | |
~Currency () | |
Currency (int index) | |
Currency (int index, QString const &code) | |
Currency (QString const &code, currencyFormat format=Native) | |
Currency & | operator= (int type) |
Currency & | operator= (char const *code) |
bool | operator== (Currency const &cur) const |
bool | operator== (int type) const |
operator int () const | |
QString | getCode () const |
QString | getCountry () const |
QString | getName () const |
QString | getDisplayCode () const |
int | getIndex () const |
QString | getExportCode (currencyFormat format) const |
Static Public Member Functions | |
static QString | getChooseString (int type, bool &ok) |
static QString | getDisplaySymbol (int type) |
static QString | getCurrencyCode (int type) |
Constructor & Destructor Documentation
Currency::Currency | ( | int | index, | |
QString const & | code | |||
) |
If code doesn't fit to index the index gets ignored.
Definition at line 3418 of file kspread_format.cc.
Currency::Currency | ( | QString const & | code, | |
currencyFormat | format = Native | |||
) |
code: e.g.
EUR, USD,.. Looks up index, if code found more than once: saved without country info currencyFormat: in Gnumeric the code is: [$EUR] saves some work in the filter...
Definition at line 3426 of file kspread_format.cc.
Member Function Documentation
QString Currency::getExportCode | ( | currencyFormat | format | ) | const |
The documentation for this class was generated from the following files: