MagicSmoke  $VERSION$
MOServerFormat Class Reference

Transport class for server formatting settings. This is used by both UIs to format numbers, dates, money, etc. The XML version of it is stored in the template directory, distributed between main and language dependent directory. More...

#include <srcMOServerFormat.h>

Inheritance diagram for MOServerFormat:

Public Types

enum  MoneyPos {
  NoSign =0, SignBeforeNum =1, SignAfterNum =2, SignBeforeSym =3,
  SignAfterSym =4, SignParen =5
}
 Position of the money sign in relation to number and currency symbol. More...
 

Public Member Functions

 MOServerFormat ()
 default constructor: constructs an invalid instance of MOServerFormat More...
 
 MOServerFormat (const MOServerFormat &)
 copy constructor: creates a (deep) copy of the object More...
 
 MOServerFormat (const QDomElement &)
 special constructor: create from the XML representation, deserializing the object More...
 
virtual ~MOServerFormat ()
 destructor: deletes this copy of the object More...
 
virtual void addmonths (Nullable< QString > a)
 
virtual void addshortmonths (Nullable< QString > a)
 
virtual void addshortweekdays (Nullable< QString > a)
 
virtual void addweekdays (Nullable< QString > a)
 
virtual Nullable< QString > amtext () const
 The text for AM in time stamps. More...
 
virtual void clearmonths ()
 
virtual void clearshortmonths ()
 
virtual void clearshortweekdays ()
 
virtual void clearweekdays ()
 
virtual Nullable< QString > currencysymbol () const
 The currency used. More...
 
virtual Nullable< QString > currencysymbolhtml () const
 The currency used in HTML notation. More...
 
virtual Nullable< QString > currencysymbolplain () const
 The currency used in ASCII notation. More...
 
virtual Nullable< bool > currencysymbolpos () const
 Where the currency symbol is found: false: before the number, true: behind the number. More...
 
virtual Nullable< QString > dateformat () const
 The default format for dates, see the docu of MLocalFormat (Qt side) and LanguageManager (PHP side) for details. More...
 
virtual Nullable< QString > datetimeformat () const
 The default format for date and time. More...
 
virtual Nullable< QString > decimaldot () const
 The decimal dot for numbers. More...
 
virtual Nullable< qint64 > moneydecimals () const
 The amount of decimals for money values - this must be the same for all languages on a server, the default is 2. More...
 
virtual Nullable< QString > moneynegative () const
 Zero to three characters: for negative money values the first one is placed in front of the money value and the second one behind the money value. More...
 
virtual Nullable< MoneyPosmoneynegativepos () const
 position of the negative money sign More...
 
virtual Nullable< QString > moneypositive () const
 Zero to three characters: for positive money values the first one is placed in front of the money value and the second one behind the money value. More...
 
virtual Nullable< MoneyPosmoneypositivepos () const
 position of the positive money sign More...
 
virtual QList< QString > months () const
 The list of month names. More...
 
MOServerFormatoperator= (const MOServerFormat &)
 copy assignment: creates a (deep) copy of the object More...
 
virtual Nullable< QString > pmtext () const
 The text for PM in time stamps. More...
 
 Q_ENUMS (MoneyPos)
 
virtual void setamtext (Nullable< QString > s)
 The text for AM in time stamps. More...
 
virtual void setcurrencysymbol (Nullable< QString > s)
 The currency used. More...
 
virtual void setcurrencysymbolhtml (Nullable< QString > s)
 The currency used in HTML notation. More...
 
virtual void setcurrencysymbolplain (Nullable< QString > s)
 The currency used in ASCII notation. More...
 
virtual void setcurrencysymbolpos (Nullable< bool > s)
 Where the currency symbol is found: false: before the number, true: behind the number. More...
 
virtual void setdateformat (Nullable< QString > s)
 The default format for dates, see the docu of MLocalFormat (Qt side) and LanguageManager (PHP side) for details. More...
 
virtual void setdatetimeformat (Nullable< QString > s)
 The default format for date and time. More...
 
virtual void setdecimaldot (Nullable< QString > s)
 The decimal dot for numbers. More...
 
virtual void setmoneydecimals (Nullable< qint64 > s)
 The amount of decimals for money values - this must be the same for all languages on a server, the default is 2. More...
 
virtual void setmoneynegative (Nullable< QString > s)
 Zero to three characters: for negative money values the first one is placed in front of the money value and the second one behind the money value. More...
 
virtual void setmoneynegativepos (Nullable< MoneyPos > s)
 position of the negative money sign More...
 
virtual void setmoneypositive (Nullable< QString > s)
 Zero to three characters: for positive money values the first one is placed in front of the money value and the second one behind the money value. More...
 
virtual void setmoneypositivepos (Nullable< MoneyPos > s)
 position of the positive money sign More...
 
virtual void setmonths (QList< QString > s)
 The list of month names. More...
 
virtual void setpmtext (Nullable< QString > s)
 The text for PM in time stamps. More...
 
virtual void setshortmonths (QList< QString > s)
 The list of abbreviated month names. More...
 
virtual void setshortweekdays (QList< QString > s)
 The list of abbreviated week day names, starting with monday. More...
 
virtual void setthousanddigits (Nullable< qint64 > s)
 The amount of digits between thousand separators, 0 for no thousand separator. More...
 
virtual void setthousandseparator (Nullable< QString > s)
 The thousand separator for numbers, if it is a space the Web UI will actually use   to prevent breaking the number. More...
 
virtual void settimeformat (Nullable< QString > s)
 The default format for time. More...
 
virtual void settimezone (Nullable< QString > s)
 Olsen database time zone name. More...
 
virtual void setweekdays (QList< QString > s)
 The list of week day names, starting with monday. More...
 
virtual QList< QString > shortmonths () const
 The list of abbreviated month names. More...
 
virtual QList< QString > shortweekdays () const
 The list of abbreviated week day names, starting with monday. More...
 
virtual Nullable< qint64 > thousanddigits () const
 The amount of digits between thousand separators, 0 for no thousand separator. More...
 
virtual Nullable< QString > thousandseparator () const
 The thousand separator for numbers, if it is a space the Web UI will actually use   to prevent breaking the number. More...
 
virtual Nullable< QString > timeformat () const
 The default format for time. More...
 
virtual Nullable< QString > timezone () const
 Olsen database time zone name. More...
 
QString toString ()
 Serializes the object to XML and returns the string representation of that XML. More...
 
QDomElement toXml (QDomDocument &doc, QString name="ServerFormat")
 Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself. More...
 
void toXml (QDomDocument &, QDomElement &)
 Serializes the object into the given element. More...
 
virtual QList< QString > weekdays () const
 The list of week day names, starting with monday. More...
 

Static Public Member Functions

static MOServerFormat fromString (const QString &)
 create MOServerFormat from XML formatted string (inverse of toString) More...
 
static MOServerFormat fromXml (const QDomElement &)
 create MOServerFormat from XML (inverse of toXml) More...
 
static MoneyPos locstr2MoneyPos (QString, bool *ok=0)
 Converts a localized string into the corresponding enum MoneyPos value. More...
 
static QString MoneyPos2locstr (MoneyPos)
 Converts enum MoneyPos value into the corresponding localized string. More...
 
static QString MoneyPos2str (MoneyPos)
 Converts enum MoneyPos value into the corresponding string. More...
 
static MoneyPos str2MoneyPos (QString, bool *ok=0)
 Converts string into the corresponding enum MoneyPos value. More...
 

Protected Attributes

Nullable< QString > mp_amtext
 
Nullable< QString > mp_currencysymbol
 
Nullable< QString > mp_currencysymbolhtml
 
Nullable< QString > mp_currencysymbolplain
 
Nullable< bool > mp_currencysymbolpos
 
Nullable< QString > mp_dateformat
 
Nullable< QString > mp_datetimeformat
 
Nullable< QString > mp_decimaldot
 
Nullable< qint64 > mp_moneydecimals
 
Nullable< QString > mp_moneynegative
 
Nullable< MoneyPosmp_moneynegativepos
 
Nullable< QString > mp_moneypositive
 
Nullable< MoneyPosmp_moneypositivepos
 
QList< QString > mp_months
 
Nullable< QString > mp_pmtext
 
QList< QString > mp_shortmonths
 
QList< QString > mp_shortweekdays
 
Nullable< qint64 > mp_thousanddigits
 
Nullable< QString > mp_thousandseparator
 
Nullable< QString > mp_timeformat
 
Nullable< QString > mp_timezone
 
QList< QString > mp_weekdays
 

Properties

Nullable< QString > amtext
 The text for AM in time stamps. More...
 
Nullable< QString > currencysymbol
 The currency used. More...
 
Nullable< QString > currencysymbolhtml
 The currency used in HTML notation. More...
 
Nullable< QString > currencysymbolplain
 The currency used in ASCII notation. More...
 
Nullable< bool > currencysymbolpos
 Where the currency symbol is found: false: before the number, true: behind the number. More...
 
Nullable< QString > dateformat
 The default format for dates, see the docu of MLocalFormat (Qt side) and LanguageManager (PHP side) for details. More...
 
Nullable< QString > datetimeformat
 The default format for date and time. More...
 
Nullable< QString > decimaldot
 The decimal dot for numbers. More...
 
Nullable< qint64 > moneydecimals
 The amount of decimals for money values - this must be the same for all languages on a server, the default is 2. More...
 
Nullable< QString > moneynegative
 Zero to three characters: for negative money values the first one is placed in front of the money value and the second one behind the money value. More...
 
Nullable< MoneyPosmoneynegativepos
 position of the negative money sign More...
 
Nullable< QString > moneypositive
 Zero to three characters: for positive money values the first one is placed in front of the money value and the second one behind the money value. More...
 
Nullable< MoneyPosmoneypositivepos
 position of the positive money sign More...
 
QList< QString > months
 The list of month names. More...
 
Nullable< QString > pmtext
 The text for PM in time stamps. More...
 
QList< QString > shortmonths
 The list of abbreviated month names. More...
 
QList< QString > shortweekdays
 The list of abbreviated week day names, starting with monday. More...
 
Nullable< qint64 > thousanddigits
 The amount of digits between thousand separators, 0 for no thousand separator. More...
 
Nullable< QString > thousandseparator
 The thousand separator for numbers, if it is a space the Web UI will actually use   to prevent breaking the number. More...
 
Nullable< QString > timeformat
 The default format for time. More...
 
Nullable< QString > timezone
 Olsen database time zone name. More...
 
QList< QString > weekdays
 The list of week day names, starting with monday. More...
 

Detailed Description

Transport class for server formatting settings. This is used by both UIs to format numbers, dates, money, etc. The XML version of it is stored in the template directory, distributed between main and language dependent directory.

Member Enumeration Documentation

Position of the money sign in relation to number and currency symbol.

Enumerator
NoSign 

no sign is shown, regardless of what symbol is set

SignBeforeNum 

the sign is shown before the numeric value

SignAfterNum 

the sign is shown after the numeric value

SignBeforeSym 

the sign is shown before the currency symbol

SignAfterSym 

the sign is shown after the currency symbol

SignParen 

parentheses are drawn around the numeric value

Constructor & Destructor Documentation

MOServerFormat::MOServerFormat ( )
inline

default constructor: constructs an invalid instance of MOServerFormat

Referenced by fromString(), and fromXml().

virtual MOServerFormat::~MOServerFormat ( )
inlinevirtual

destructor: deletes this copy of the object

Member Function Documentation

virtual void MOServerFormat::addmonths ( Nullable< QString >  a)
inlinevirtual

Referenced by MOServerFormat().

virtual void MOServerFormat::addshortmonths ( Nullable< QString >  a)
inlinevirtual

Referenced by MOServerFormat().

virtual void MOServerFormat::addshortweekdays ( Nullable< QString >  a)
inlinevirtual

Referenced by MOServerFormat().

virtual void MOServerFormat::addweekdays ( Nullable< QString >  a)
inlinevirtual

Referenced by MOServerFormat().

virtual Nullable<QString> MOServerFormat::amtext ( ) const
inlinevirtual

The text for AM in time stamps.

virtual void MOServerFormat::clearmonths ( )
inlinevirtual
virtual void MOServerFormat::clearshortmonths ( )
inlinevirtual
virtual void MOServerFormat::clearshortweekdays ( )
inlinevirtual
virtual void MOServerFormat::clearweekdays ( )
inlinevirtual
virtual Nullable<QString> MOServerFormat::currencysymbol ( ) const
inlinevirtual

The currency used.

virtual Nullable<QString> MOServerFormat::currencysymbolhtml ( ) const
inlinevirtual

The currency used in HTML notation.

virtual Nullable<QString> MOServerFormat::currencysymbolplain ( ) const
inlinevirtual

The currency used in ASCII notation.

virtual Nullable<bool> MOServerFormat::currencysymbolpos ( ) const
inlinevirtual

Where the currency symbol is found: false: before the number, true: behind the number.

virtual Nullable<QString> MOServerFormat::dateformat ( ) const
inlinevirtual

The default format for dates, see the docu of MLocalFormat (Qt side) and LanguageManager (PHP side) for details.

virtual Nullable<QString> MOServerFormat::datetimeformat ( ) const
inlinevirtual

The default format for date and time.

virtual Nullable<QString> MOServerFormat::decimaldot ( ) const
inlinevirtual

The decimal dot for numbers.

MOServerFormat MOServerFormat::fromString ( const QString &  txt)
static

create MOServerFormat from XML formatted string (inverse of toString)

References MOServerFormat().

MOServerFormat MOServerFormat::fromXml ( const QDomElement &  root)
static

create MOServerFormat from XML (inverse of toXml)

References MOServerFormat().

MOServerFormat::MoneyPos MOServerFormat::locstr2MoneyPos ( QString  s,
bool *  ok = 0 
)
static

Converts a localized string into the corresponding enum MoneyPos value.

References NoSign, SignAfterNum, SignAfterSym, SignBeforeNum, SignBeforeSym, and SignParen.

virtual Nullable<qint64> MOServerFormat::moneydecimals ( ) const
inlinevirtual

The amount of decimals for money values - this must be the same for all languages on a server, the default is 2.

virtual Nullable<QString> MOServerFormat::moneynegative ( ) const
inlinevirtual

Zero to three characters: for negative money values the first one is placed in front of the money value and the second one behind the money value.

virtual Nullable<MoneyPos> MOServerFormat::moneynegativepos ( ) const
inlinevirtual

position of the negative money sign

QString MOServerFormat::MoneyPos2locstr ( MoneyPos  e)
static

Converts enum MoneyPos value into the corresponding localized string.

References NoSign, SignAfterNum, SignAfterSym, SignBeforeNum, SignBeforeSym, and SignParen.

QString MOServerFormat::MoneyPos2str ( MoneyPos  e)
static

Converts enum MoneyPos value into the corresponding string.

References NoSign, SignAfterNum, SignAfterSym, SignBeforeNum, SignBeforeSym, and SignParen.

virtual Nullable<QString> MOServerFormat::moneypositive ( ) const
inlinevirtual

Zero to three characters: for positive money values the first one is placed in front of the money value and the second one behind the money value.

virtual Nullable<MoneyPos> MOServerFormat::moneypositivepos ( ) const
inlinevirtual

position of the positive money sign

virtual QList<QString> MOServerFormat::months ( ) const
inlinevirtual

The list of month names.

virtual Nullable<QString> MOServerFormat::pmtext ( ) const
inlinevirtual

The text for PM in time stamps.

MOServerFormat::Q_ENUMS ( MoneyPos  )
virtual void MOServerFormat::setamtext ( Nullable< QString >  s)
inlinevirtual

The text for AM in time stamps.

Referenced by MOServerFormat().

virtual void MOServerFormat::setcurrencysymbol ( Nullable< QString >  s)
inlinevirtual

The currency used.

Referenced by MOServerFormat().

virtual void MOServerFormat::setcurrencysymbolhtml ( Nullable< QString >  s)
inlinevirtual

The currency used in HTML notation.

Referenced by MOServerFormat().

virtual void MOServerFormat::setcurrencysymbolplain ( Nullable< QString >  s)
inlinevirtual

The currency used in ASCII notation.

Referenced by MOServerFormat().

virtual void MOServerFormat::setcurrencysymbolpos ( Nullable< bool >  s)
inlinevirtual

Where the currency symbol is found: false: before the number, true: behind the number.

Referenced by MOServerFormat().

virtual void MOServerFormat::setdateformat ( Nullable< QString >  s)
inlinevirtual

The default format for dates, see the docu of MLocalFormat (Qt side) and LanguageManager (PHP side) for details.

Referenced by MOServerFormat().

virtual void MOServerFormat::setdatetimeformat ( Nullable< QString >  s)
inlinevirtual

The default format for date and time.

Referenced by MOServerFormat().

virtual void MOServerFormat::setdecimaldot ( Nullable< QString >  s)
inlinevirtual

The decimal dot for numbers.

Referenced by MOServerFormat().

virtual void MOServerFormat::setmoneydecimals ( Nullable< qint64 >  s)
inlinevirtual

The amount of decimals for money values - this must be the same for all languages on a server, the default is 2.

Referenced by MOServerFormat().

virtual void MOServerFormat::setmoneynegative ( Nullable< QString >  s)
inlinevirtual

Zero to three characters: for negative money values the first one is placed in front of the money value and the second one behind the money value.

Referenced by MOServerFormat().

virtual void MOServerFormat::setmoneynegativepos ( Nullable< MoneyPos s)
inlinevirtual

position of the negative money sign

Referenced by MOServerFormat().

virtual void MOServerFormat::setmoneypositive ( Nullable< QString >  s)
inlinevirtual

Zero to three characters: for positive money values the first one is placed in front of the money value and the second one behind the money value.

Referenced by MOServerFormat().

virtual void MOServerFormat::setmoneypositivepos ( Nullable< MoneyPos s)
inlinevirtual

position of the positive money sign

Referenced by MOServerFormat().

virtual void MOServerFormat::setmonths ( QList< QString >  s)
inlinevirtual

The list of month names.

virtual void MOServerFormat::setpmtext ( Nullable< QString >  s)
inlinevirtual

The text for PM in time stamps.

Referenced by MOServerFormat().

virtual void MOServerFormat::setshortmonths ( QList< QString >  s)
inlinevirtual

The list of abbreviated month names.

virtual void MOServerFormat::setshortweekdays ( QList< QString >  s)
inlinevirtual

The list of abbreviated week day names, starting with monday.

virtual void MOServerFormat::setthousanddigits ( Nullable< qint64 >  s)
inlinevirtual

The amount of digits between thousand separators, 0 for no thousand separator.

Referenced by MOServerFormat().

virtual void MOServerFormat::setthousandseparator ( Nullable< QString >  s)
inlinevirtual

The thousand separator for numbers, if it is a space the Web UI will actually use   to prevent breaking the number.

Referenced by MOServerFormat().

virtual void MOServerFormat::settimeformat ( Nullable< QString >  s)
inlinevirtual

The default format for time.

Referenced by MOServerFormat().

virtual void MOServerFormat::settimezone ( Nullable< QString >  s)
inlinevirtual

Olsen database time zone name.

Referenced by MOServerFormat().

virtual void MOServerFormat::setweekdays ( QList< QString >  s)
inlinevirtual

The list of week day names, starting with monday.

virtual QList<QString> MOServerFormat::shortmonths ( ) const
inlinevirtual

The list of abbreviated month names.

virtual QList<QString> MOServerFormat::shortweekdays ( ) const
inlinevirtual

The list of abbreviated week day names, starting with monday.

MOServerFormat::MoneyPos MOServerFormat::str2MoneyPos ( QString  s,
bool *  ok = 0 
)
static

Converts string into the corresponding enum MoneyPos value.

References NoSign, SignAfterNum, SignAfterSym, SignBeforeNum, SignBeforeSym, and SignParen.

Referenced by MOServerFormat().

virtual Nullable<qint64> MOServerFormat::thousanddigits ( ) const
inlinevirtual

The amount of digits between thousand separators, 0 for no thousand separator.

virtual Nullable<QString> MOServerFormat::thousandseparator ( ) const
inlinevirtual

The thousand separator for numbers, if it is a space the Web UI will actually use   to prevent breaking the number.

virtual Nullable<QString> MOServerFormat::timeformat ( ) const
inlinevirtual

The default format for time.

virtual Nullable<QString> MOServerFormat::timezone ( ) const
inlinevirtual

Olsen database time zone name.

QString MOServerFormat::toString ( )

Serializes the object to XML and returns the string representation of that XML.

References toXml().

QDomElement MOServerFormat::toXml ( QDomDocument &  doc,
QString  name = "ServerFormat" 
)

Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself.

Parameters
docthe DOM document node for which to generate the element
namethe name to give the generated element, per default "MOServerFormat" is used

Referenced by toString().

virtual QList<QString> MOServerFormat::weekdays ( ) const
inlinevirtual

The list of week day names, starting with monday.

Member Data Documentation

Nullable<QString> MOServerFormat::mp_amtext
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_currencysymbol
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_currencysymbolhtml
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_currencysymbolplain
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<bool> MOServerFormat::mp_currencysymbolpos
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_dateformat
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_datetimeformat
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_decimaldot
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<qint64> MOServerFormat::mp_moneydecimals
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_moneynegative
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<MoneyPos> MOServerFormat::mp_moneynegativepos
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_moneypositive
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<MoneyPos> MOServerFormat::mp_moneypositivepos
protected

Referenced by MOServerFormat(), operator=(), and toXml().

QList<QString> MOServerFormat::mp_months
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_pmtext
protected

Referenced by MOServerFormat(), operator=(), and toXml().

QList<QString> MOServerFormat::mp_shortmonths
protected

Referenced by MOServerFormat(), operator=(), and toXml().

QList<QString> MOServerFormat::mp_shortweekdays
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<qint64> MOServerFormat::mp_thousanddigits
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_thousandseparator
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_timeformat
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Nullable<QString> MOServerFormat::mp_timezone
protected

Referenced by MOServerFormat(), operator=(), and toXml().

QList<QString> MOServerFormat::mp_weekdays
protected

Referenced by MOServerFormat(), operator=(), and toXml().

Property Documentation

Nullable<QString> MOServerFormat::amtext
readwrite

The text for AM in time stamps.

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::currencysymbol
readwrite

The currency used.

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::currencysymbolhtml
readwrite

The currency used in HTML notation.

Nullable<QString> MOServerFormat::currencysymbolplain
readwrite

The currency used in ASCII notation.

Nullable<bool> MOServerFormat::currencysymbolpos
readwrite

Where the currency symbol is found: false: before the number, true: behind the number.

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::dateformat
readwrite

The default format for dates, see the docu of MLocalFormat (Qt side) and LanguageManager (PHP side) for details.

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::datetimeformat
readwrite

The default format for date and time.

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::decimaldot
readwrite

The decimal dot for numbers.

Referenced by MLocalFormat::MLocalFormat().

Nullable<qint64> MOServerFormat::moneydecimals
readwrite

The amount of decimals for money values - this must be the same for all languages on a server, the default is 2.

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::moneynegative
readwrite

Zero to three characters: for negative money values the first one is placed in front of the money value and the second one behind the money value.

Referenced by MLocalFormat::MLocalFormat().

Nullable<MoneyPos> MOServerFormat::moneynegativepos
readwrite

position of the negative money sign

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::moneypositive
readwrite

Zero to three characters: for positive money values the first one is placed in front of the money value and the second one behind the money value.

Referenced by MLocalFormat::MLocalFormat().

Nullable<MoneyPos> MOServerFormat::moneypositivepos
readwrite

position of the positive money sign

Referenced by MLocalFormat::MLocalFormat().

QList<QString> MOServerFormat::months
readwrite

The list of month names.

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::pmtext
readwrite

The text for PM in time stamps.

Referenced by MLocalFormat::MLocalFormat().

QList<QString> MOServerFormat::shortmonths
readwrite

The list of abbreviated month names.

Referenced by MLocalFormat::MLocalFormat().

QList<QString> MOServerFormat::shortweekdays
readwrite

The list of abbreviated week day names, starting with monday.

Referenced by MLocalFormat::MLocalFormat().

Nullable<qint64> MOServerFormat::thousanddigits
readwrite

The amount of digits between thousand separators, 0 for no thousand separator.

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::thousandseparator
readwrite

The thousand separator for numbers, if it is a space the Web UI will actually use   to prevent breaking the number.

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::timeformat
readwrite

The default format for time.

Referenced by MLocalFormat::MLocalFormat().

Nullable<QString> MOServerFormat::timezone
readwrite

Olsen database time zone name.

Referenced by MLocalFormat::MLocalFormat().

QList<QString> MOServerFormat::weekdays
readwrite

The list of week day names, starting with monday.

Referenced by MLocalFormat::MLocalFormat().


The documentation for this class was generated from the following files: