Home · All Classes · Main Classes · Deprecated
Public Member Functions

ML10N::MCountry Class Reference

List of all members.

Public Member Functions

 MCountry ()
 MCountry (const MCountry &)
virtual ~MCountry ()
MCountryoperator= (const MCountry &)
QString key () const
QString englishName () const
QString localName () const
QString countryCode () const
void setKey (const QString &val)
void setEnglishName (const QString &val)
void setLocalName (const QString &val)
void setCountryCode (const QString &val)

Constructor & Destructor Documentation

ML10N::MCountry::MCountry (  ) 
ML10N::MCountry::MCountry ( const MCountry other  ) 
ML10N::MCountry::~MCountry (  )  [virtual]

Member Function Documentation

QString ML10N::MCountry::countryCode (  )  const

returns the country code in ISO 3166-1 format

Example returns "FI" in case of Finland

QString ML10N::MCountry::englishName (  )  const

returns the english name for the country

Example: might return something like “Finland”.

QString ML10N::MCountry::key (  )  const

returns the unique key for the country

Example: might return something like “qtn_clk_country_finland” for Finland. This key can be used in qtTrId() to get the translation of “Finland”

 qtTrId("qtn_clk_country_finland");
QString ML10N::MCountry::localName (  )  const

returns the local name for the country

Example might return something like “Suomi” in case of Finland

MCountry & ML10N::MCountry::operator= ( const MCountry other  ) 
void ML10N::MCountry::setCountryCode ( const QString val  ) 
void ML10N::MCountry::setEnglishName ( const QString val  ) 
void ML10N::MCountry::setKey ( const QString val  ) 
void ML10N::MCountry::setLocalName ( const QString val  ) 

Copyright © 2010 Nokia Corporation
MeeGo Touch