Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 506

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class KLocale</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class KLocale</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">class for supporting locale settings and national language. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="klocale_h.html">klocale.h</A>&gt;</code></TD></TR>
<TR><TH><A HREF="full-list-KLocale.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Types</h4><ul><LI>enum <A HREF="#ref8">SignPosition</A> { ParensAround = 0, BeforeQuantityMoney = 1,
			AfterQuantityMoney = 2,
			BeforeMoney = 3, AfterMoney = 4 }
</LI>
</ul><h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref2">KLocale</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& catalogue = QString::null ) 
</LI>
<LI>&nbsp;<b><A HREF="#ref3">~KLocale</A></b> () 
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref4">translate</A></b> ( const char *index )  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref5">translate</A></b> ( const char *index, const char *fallback)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref6">translate</A></b> ( const char *singular, const char *plural,
                       unsigned long n)  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref7">setLanguage</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &_lang) 
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref9">decimalSymbol</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref10">thousandsSeparator</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref11">currencySymbol</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref12">monetaryDecimalSymbol</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref13">monetaryThousandsSeparator</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref14">positiveSign</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref15">negativeSign</A></b> ()  const
</LI>
<LI>int &nbsp;<b><A HREF="#ref16">fracDigits</A></b> ()  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref17">positivePrefixCurrencySymbol</A></b> ()  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref18">negativePrefixCurrencySymbol</A></b> ()  const
</LI>
<LI>SignPosition &nbsp;<b><A HREF="#ref19">positiveMonetarySignPosition</A></b> ()  const
</LI>
<LI>SignPosition &nbsp;<b><A HREF="#ref20">negativeMonetarySignPosition</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref21">formatMoney</A></b> (double num, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &currency = QString::null, int digits = -1)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref22">formatMoney</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &numStr)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref23">formatNumber</A></b> (double num, int precision = -1)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref24">formatNumber</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &numStr)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref25">formatDate</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdate.html">QDate</A> &pDate, bool shortfmt = false)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref26">formatTime</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtime.html">QTime</A> &pTime, bool includeSecs = false)  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref27">use12Clock</A></b> ()  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref28">weekStartsMonday</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref29">monthName</A></b> (int i, bool _short = false)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref30">weekDayName</A></b> (int i, bool _short = false)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref31">formatDateTime</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatetime.html">QDateTime</A> &pDateTime)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref32">formatDateTime</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatetime.html">QDateTime</A> &pDateTime, bool shortfmt, bool includeSecs = false)  const
</LI>
<LI>double &nbsp;<b><A HREF="#ref33">readMoney</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &numStr, bool * ok=0)  const
</LI>
<LI>double &nbsp;<b><A HREF="#ref34">readNumber</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &numStr, bool * ok=0)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdate.html">QDate</A> &nbsp;<b><A HREF="#ref35">readDate</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &str)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtime.html">QTime</A> &nbsp;<b><A HREF="#ref36">readTime</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &str)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref37">language</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref38">country</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref39">languages</A></b> ()  const
</LI>
<LI><A HREF="#QStringList">QStringList</A> &nbsp;<b><A HREF="#ref40">languageList</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref41">charset</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref42">insertCatalogue</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& catalogue) 
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref43">translateQt</A></b> (const char *context, const char *sourceText)  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref45">initFormat</A></b> (<A HREF="KConfig.html">KConfig</A> *config) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref46">initLanguage</A></b> (<A HREF="KConfig.html">KConfig</A> *config, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& catalogue) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref47">inited</A></b> ()  const
</LI>
</ul><h4>Public Static Methods</h4><ul><LI>static  void &nbsp;<b><A HREF="#ref44">splitLocale</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& str,<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& language, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& country,
                     <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &charset) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref48">setMainCatalogue</A></b> (const char *catalogue) 
</LI>
<LI>static  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref49">langLookup</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &fname, const char *rtype = "html") 
</LI>
</ul><h4>Protected Methods</h4><ul><LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtime.html">QTime</A> &nbsp;<b><A HREF="#ref73">readTime</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &str, bool seconds)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdate.html">QDate</A> &nbsp;<b><A HREF="#ref74">readDate</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &str, bool shortfmt)  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref75">setEncodingLang</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &_lang) 
</LI>
<LI>&nbsp;<b><A HREF="#ref76">KLocale</A></b> ( const <A HREF="KLocale.html">KLocale</A>& ) 
</LI>
<LI><A HREF="KLocale.html">KLocale</A>& &nbsp;<b><A HREF="#ref77">operator= </A></b> ( const <A HREF="KLocale.html">KLocale</A>& ) 
</LI>
</ul><h4>Protected Members</h4><ul><LI>QString <b><A HREF="#ref50">chset</A></b></LI>
<LI>bool <b><A HREF="#ref51">m_weekStartsMonday</A></b></LI>
<LI>QString <b><A HREF="#ref52">_decimalSymbol</A></b></LI>
<LI>QString <b><A HREF="#ref53">_thousandsSeparator</A></b></LI>
<LI>QString <b><A HREF="#ref54">_currencySymbol</A></b></LI>
<LI>QString <b><A HREF="#ref55">_monetaryDecimalSymbol</A></b></LI>
<LI>QString <b><A HREF="#ref56">_monetaryThousandsSeparator</A></b></LI>
<LI>QString <b><A HREF="#ref57">_positiveSign</A></b></LI>
<LI>QString <b><A HREF="#ref58">_negativeSign</A></b></LI>
<LI>int <b><A HREF="#ref59">_fracDigits</A></b></LI>
<LI>bool <b><A HREF="#ref60">_positivePrefixCurrencySymbol</A></b></LI>
<LI>bool <b><A HREF="#ref61">_negativePrefixCurrencySymbol</A></b></LI>
<LI>SignPosition <b><A HREF="#ref62">_positiveMonetarySignPosition</A></b></LI>
<LI>SignPosition <b><A HREF="#ref63">_negativeMonetarySignPosition</A></b></LI>
<LI>QString <b><A HREF="#ref64">_timefmt</A></b></LI>
<LI>QString <b><A HREF="#ref65">_datefmt</A></b></LI>
<LI>QString <b><A HREF="#ref66">_datefmtshort</A></b></LI>
<LI>QStrList *<b><A HREF="#ref67">catalogues</A></b></LI>
<LI>bool <b><A HREF="#ref68">_inited</A></b></LI>
<LI>QCString <b><A HREF="#ref69">lang</A></b></LI>
<LI>QTextCodec *<b><A HREF="#ref70">_codec</A></b></LI>
<LI>QString <b><A HREF="#ref71">langs</A></b></LI>
<LI>QString <b><A HREF="#ref72">_country</A></b></LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
</p>
<p> KLocale provides support for country specific stuff like
 the national language.
</p>
<p> KLocale supports translating, as well as specifying the format
 for numbers, currency, time, and date.
</p>
<p></p>
<A NAME="KLocale"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KLocale</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& catalogue = QString::null )
<br></td><td align="right"><h3><strong>KLocale</strong></h3></td></tr></table><p></p><p>
 Create a KLocale with the given catalogue name.
 If no catalogue is given, the application name is used.
 The constructor looks for an entry Locale/Language in the
 configuration file.
 If nothing is set there, it looks for the environment variable
 $LANG. The format for LANG is de, if de (german) is your
 prefered language. If none of them can be find, the default (C)
 will be used.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>catalogue</i></TD><TD align="left" valign="top">The name of the language file
      </TD></TR>
</TABLE></P>
<A NAME="~KLocale"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>~KLocale</strong> ()
<br></td><td align="right"><h3><strong>~KLocale</strong></h3></td></tr></table><p></p><p>
 Destructor.
      </p>
<A NAME="translate"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>translate</strong> ( const char *index )
<br></td><td align="right"><h3><strong>translate</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Translate the string into the corresponding string in
 the national language, if available. If not, returns
 the string itself.
 There is a KDE wide message file that contains the most
 often used phrases, so we can avoid duplicating the
 translation of these phrases. If a phrase is not found
 in the catalogue given to the constructor, it will search
 in the system catalog. This makes it possible to override
 some phrases for your needs.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>index</i></TD><TD align="left" valign="top">The lookup text and default text, if not found.
      </TD></TR>
</TABLE></P>
<A NAME="translate"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>translate</strong> ( const char *index, const char *fallback)
<br></td><td align="right"><h3><strong>translate</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Translate the string into the corresponding string in the
 national language, if available.
</p>
<p> The real contents of the string is in the argument fallback,
 but the meaning of it is coded into the argument index.
 In some cases you'll need this function, when english is
 too ambigious to express it.
</p>
<p> Most of the times the translators will tell you if it can't
 be translated as it, but think of cases as "New", where the
 translations differs depending on what is New.
 Or simple cases as "Open", that can be used to express something
 is open or it can be used to express that you want something to
 open... There are tons of such examples.
</p>
<p> If translate("Open") is not enough to translate it well, use
 translate("To Open", "Open") or translate("Is Open", "Open").
 The english user will see "Open" in both cases, but the translated
 version may vary. Of course you can also use i18n()
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>index</i></TD><TD align="left" valign="top">The lookup text
</TD></TR>
<TR><TD align="left" valign="top"><i>fallback</i></TD><TD align="left" valign="top">the default text, if not found
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: translation
     </p>
<A NAME="translate"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>translate</strong> ( const char *singular, const char *plural,
                       unsigned long n)
<br></td><td align="right"><h3><strong>translate</strong></h3></td></tr></table><p> <small>[const]</small></p><A NAME="setLanguage"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setLanguage</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &_lang)
<br></td><td align="right"><h3><strong>setLanguage</strong></h3></td></tr></table><p></p><p>
 Allows programs such as kcmlocale to choose which translation to use.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>_lang</i></TD><TD align="left" valign="top">The language you want to use.
     </TD></TR>
</TABLE></P>
<A NAME="SignPosition"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>SignPosition</strong> { ParensAround = 0, BeforeQuantityMoney = 1,
			AfterQuantityMoney = 2,
			BeforeMoney = 3, AfterMoney = 4 }
</td><td align="right"><h3><strong>SignPosition</strong></h3></td></tr></table><p></p><p>
 Various positions for where to place the positive or negative
 sign when they are related to a monetary value.
     </p>
<A NAME="decimalSymbol"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>decimalSymbol</strong> ()
<br></td><td align="right"><h3><strong>decimalSymbol</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve what a decimal point should look like ("." or "," etc.)
 according to the current locale or user settings.
</p>
<p></p>
<p><b>Returns</b>: The decimal symbol used by locale.
     </p>
<A NAME="thousandsSeparator"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>thousandsSeparator</strong> ()
<br></td><td align="right"><h3><strong>thousandsSeparator</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve what the thousands separator should look
 like ("," or "." etc.)
 according to the current locale or user settings.
</p>
<p></p>
<p><b>Returns</b>: The thousands separator used by locale.
     </p>
<A NAME="currencySymbol"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>currencySymbol</strong> ()
<br></td><td align="right"><h3><strong>currencySymbol</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve what the symbol denoting currency in the current locale
 as as defined by user settings should look like.
</p>
<p></p>
<p><b>Returns</b>: The default currecy symbol used by locale.
     </p>
<A NAME="monetaryDecimalSymbol"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>monetaryDecimalSymbol</strong> ()
<br></td><td align="right"><h3><strong>monetaryDecimalSymbol</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve what a decimal point should look like ("." or "," etc.)
 for monetary values, according to the current locale or user
 settings.
</p>
<p></p>
<p><b>Returns</b>: The monetary decimal symbol used by locale.
     </p>
<A NAME="monetaryThousandsSeparator"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>monetaryThousandsSeparator</strong> ()
<br></td><td align="right"><h3><strong>monetaryThousandsSeparator</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve what a thousands separator for monetary values should
 look like ("," or " " etc.) according to the current locale or
 user settings.
</p>
<p></p>
<p><b>Returns</b>: The monetary thousands separator used by locale.
     </p>
<A NAME="positiveSign"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>positiveSign</strong> ()
<br></td><td align="right"><h3><strong>positiveSign</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve what a positive sign should look like ("+", " ", etc.)
 according to the current locale or user settings.
</p>
<p></p>
<p><b>Returns</b>: The positive sign used by locale.
     </p>
<A NAME="negativeSign"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>negativeSign</strong> ()
<br></td><td align="right"><h3><strong>negativeSign</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve what a negative sign should look like ("-", etc.)
 according to the current locale or user settings.
</p>
<p></p>
<p><b>Returns</b>: The negative sign used by locale.
     </p>
<A NAME="fracDigits"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>fracDigits</strong> ()
<br></td><td align="right"><h3><strong>fracDigits</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 The number of fractional digits to include in numeric/monetary
 values (usually 2).
</p>
<p></p>
<p><b>Returns</b>: Default number of fractional digits used by locale.
     </p>
<A NAME="positivePrefixCurrencySymbol"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>positivePrefixCurrencySymbol</strong> ()
<br></td><td align="right"><h3><strong>positivePrefixCurrencySymbol</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 If and only if the currency symbol precedes a positive value,
 this will be true.
</p>
<p></p>
<p><b>Returns</b>: Where to print the currency symbol for positive numbers.
     </p>
<A NAME="negativePrefixCurrencySymbol"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>negativePrefixCurrencySymbol</strong> ()
<br></td><td align="right"><h3><strong>negativePrefixCurrencySymbol</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 If and only if the currency symbol precedes a negative value,
 this will be true.
</p>
<p></p>
<p><b>Returns</b>: Where to print the currecy symbol for negative numbers.
     </p>
<A NAME="positiveMonetarySignPosition"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td>SignPosition &nbsp;<strong>positiveMonetarySignPosition</strong> ()
<br></td><td align="right"><h3><strong>positiveMonetarySignPosition</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve the position of a positive sign in relation to a
 monetary value.
</p>
<p></p>
<p><b>Returns</b>: Where/how to print the positive sign.
</p>
<p><b>See also</b>: SignPosition</p>
<A NAME="negativeMonetarySignPosition"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td>SignPosition &nbsp;<strong>negativeMonetarySignPosition</strong> ()
<br></td><td align="right"><h3><strong>negativeMonetarySignPosition</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Denotes where to place a negative sign in relation to a
 monetary value.
</p>
<p></p>
<p><b>Returns</b>: Where/how to print the negative sign.
</p>
<p><b>See also</b>: SignPosition</p>
<A NAME="formatMoney"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>formatMoney</strong> (double num, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &currency = QString::null, int digits = -1)
<br></td><td align="right"><h3><strong>formatMoney</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Given a double, convert that to a numeric string containing
 the localized monetary equivalent.
</p>
<p> e.g. given 123456, return "$ 123,456.00".
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>num</i></TD><TD align="left" valign="top">The number we want to format
</TD></TR>
<TR><TD align="left" valign="top"><i>currency</i></TD><TD align="left" valign="top">The currency symbol you want.
</TD></TR>
<TR><TD align="left" valign="top"><i>digits</i></TD><TD align="left" valign="top">Number of fractional digits.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The number of money as a localized string
     </p>
<A NAME="formatMoney"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>formatMoney</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &numStr)
<br></td><td align="right"><h3><strong>formatMoney</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 This function differs from the above only in that it can take
 a QString as the argument for convenience.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>numStr</i></TD><TD align="left" valign="top">The string you want to reformat.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The number of money as a localized string
     </p>
<A NAME="formatNumber"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>formatNumber</strong> (double num, int precision = -1)
<br></td><td align="right"><h3><strong>formatNumber</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Given a double, convert that to a numeric string containing
 the localized numeric equivalent.
</p>
<p> e.g. given 123456.78, return "123,456.78" (for some European country).
 If precision isn't specified, 2 is used.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>num</i></TD><TD align="left" valign="top">The number to convert
</TD></TR>
<TR><TD align="left" valign="top"><i>precision</i></TD><TD align="left" valign="top">Number of fractinal digits used.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The number as a localized string
     </p>
<A NAME="formatNumber"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>formatNumber</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &numStr)
<br></td><td align="right"><h3><strong>formatNumber</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 This function differs from the above only in that it can take
 a QString as the argument for convenience.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>numStr</i></TD><TD align="left" valign="top">The string you want to convert.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The number as a formated string
     </p>
<A NAME="formatDate"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>formatDate</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdate.html">QDate</A> &pDate, bool shortfmt = false)
<br></td><td align="right"><h3><strong>formatDate</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Return a string formatted to the current locale's conventions
 regarding dates.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>pDate</i></TD><TD align="left" valign="top">The date to be formated.
</TD></TR>
<TR><TD align="left" valign="top"><i>shotfmt</i></TD><TD align="left" valign="top">True for non text dates.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The date as a string
     </p>
<A NAME="formatTime"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>formatTime</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtime.html">QTime</A> &pTime, bool includeSecs = false)
<br></td><td align="right"><h3><strong>formatTime</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Return a string formatted to the current locale's conventions
 regarding times.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>pTime</i></TD><TD align="left" valign="top">The time to be formated.
</TD></TR>
<TR><TD align="left" valign="top"><i>includeSecs</i></TD><TD align="left" valign="top">if true, seconds are included in the output,
        otherwise only hours and minutes are formatted.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The time as a string
     </p>
<A NAME="use12Clock"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>use12Clock</strong> ()
<br></td><td align="right"><h3><strong>use12Clock</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Use this to determine if the user wants a 12 hour clock.
</p>
<p></p>
<p><b>Returns</b>: If the user wants 12h clock
     </p>
<A NAME="weekStartsMonday"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>weekStartsMonday</strong> ()
<br></td><td align="right"><h3><strong>weekStartsMonday</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Use this to determine if the user wants the week to start on monday.
</p>
<p></p>
<p><b>Returns</b>: true if the week starts on monday
     </p>
<A NAME="monthName"></A><A NAME="ref29"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>monthName</strong> (int i, bool _short = false)
<br></td><td align="right"><h3><strong>monthName</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Return a string containing the name of the month name.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>i</i></TD><TD align="left" valign="top">the month number of the year starting at 1/January.
</TD></TR>
<TR><TD align="left" valign="top"><i>_short</i></TD><TD align="left" valign="top">we will return the short versoin of the string.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The name of the month
     </p>
<A NAME="weekDayName"></A><A NAME="ref30"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>weekDayName</strong> (int i, bool _short = false)
<br></td><td align="right"><h3><strong>weekDayName</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Return a string containing the name of the week day.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>i</i></TD><TD align="left" valign="top">the day number of the week starting at 1/Monday.
</TD></TR>
<TR><TD align="left" valign="top"><i>_short</i></TD><TD align="left" valign="top">we will return the short versoin of the string.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The name of the week
     </p>
<A NAME="formatDateTime"></A><A NAME="ref31"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>formatDateTime</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatetime.html">QDateTime</A> &pDateTime)
<br></td><td align="right"><h3><strong>formatDateTime</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Return a string formated to the current locale's conventions
 regarding both date and time. Defaults to short date format.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>pDateTime</i></TD><TD align="left" valign="top">The date and time to be formated.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The date and time as a string
     </p>
<A NAME="formatDateTime"></A><A NAME="ref32"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>formatDateTime</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdatetime.html">QDateTime</A> &pDateTime, bool shortfmt, bool includeSecs = false)
<br></td><td align="right"><h3><strong>formatDateTime</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Return a string formated to the current locale's conventions
 regarding both date and time.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>pDateTime</i></TD><TD align="left" valign="top">The date and time to be formated.
</TD></TR>
<TR><TD align="left" valign="top"><i>shortfmt</i></TD><TD align="left" valign="top">using the short date format.
</TD></TR>
<TR><TD align="left" valign="top"><i>includeSeconds</i></TD><TD align="left" valign="top">using the short date format.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The date and time as a string
     </p>
<A NAME="readMoney"></A><A NAME="ref33"></A><table width="100%"><tr bgcolor="#eeeeee"><td>double &nbsp;<strong>readMoney</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &numStr, bool * ok=0)
<br></td><td align="right"><h3><strong>readMoney</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Converts a localized monetary string to a double.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>numStr</i></TD><TD align="left" valign="top">the string we want to convert.
</TD></TR>
<TR><TD align="left" valign="top"><i>ok</i></TD><TD align="left" valign="top">the boolean that is set to false if it's not a number.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The string converted to a double
     </p>
<A NAME="readNumber"></A><A NAME="ref34"></A><table width="100%"><tr bgcolor="#eeeeee"><td>double &nbsp;<strong>readNumber</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &numStr, bool * ok=0)
<br></td><td align="right"><h3><strong>readNumber</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Converts a localized numeric string to a double.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>numStr</i></TD><TD align="left" valign="top">the string we want to convert.
</TD></TR>
<TR><TD align="left" valign="top"><i>ok</i></TD><TD align="left" valign="top">the boolean that is set to false if it's not a number.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The string converted to a double
     </p>
<A NAME="readDate"></A><A NAME="ref35"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdate.html">QDate</A> &nbsp;<strong>readDate</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>readDate</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Converts a localized date string to a QDate.
 isValid() on the returning object will be false
 if the date entered was not valid.
</p>
<p> Note: This only works on short dates for the time beeing.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">the string we want to convert.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The string converted to a QDate
     </p>
<A NAME="readTime"></A><A NAME="ref36"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtime.html">QTime</A> &nbsp;<strong>readTime</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &str)
<br></td><td align="right"><h3><strong>readTime</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Converts a localized time string to a QTime.
 isValid() on the returning object will be false
 if the time entered was not valid.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">the string we want to convert.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The string converted to a QTime
     </p>
<A NAME="language"></A><A NAME="ref37"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>language</strong> ()
<br></td><td align="right"><h3><strong>language</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Returns the language used by this object. The domain AND the
 library translation must be available in this language.
 'C' is default, if no other available.
</p>
<p></p>
<p><b>Returns</b>: The currently used language.
      </p>
<A NAME="country"></A><A NAME="ref38"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>country</strong> ()
<br></td><td align="right"><h3><strong>country</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Returns the country code of the country where the user lives.
 'C' is default, if no other available
</p>
<p></p>
<p><b>Returns</b>: The country code for the user.
      </p>
<A NAME="languages"></A><A NAME="ref39"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>languages</strong> ()
<br></td><td align="right"><h3><strong>languages</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Returns the languages selected by user.
</p>
<p></p>
<p><b>Returns</b>: String containing language codes separated by colons
      </p>
<A NAME="languageList"></A><A NAME="ref40"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="#QStringList">QStringList</A> &nbsp;<strong>languageList</strong> ()
<br></td><td align="right"><h3><strong>languageList</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Returns the languages selected by user.
</p>
<p></p>
<p><b>Returns</b>: List of language codes
      </p>
<A NAME="charset"></A><A NAME="ref41"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>charset</strong> ()
<br></td><td align="right"><h3><strong>charset</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Returns the charset name by selected locale.
 This will be the charset defined in the config file.
 NOTE: This is no longer the same as encoding.
 "iso-8859-1" is default
</p>
<p></p>
<p><b>Returns</b>: Name of the prefered charset for fonts
      </p>
<A NAME="insertCatalogue"></A><A NAME="ref42"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>insertCatalogue</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& catalogue)
<br></td><td align="right"><h3><strong>insertCatalogue</strong></h3></td></tr></table><p></p><p>
 adds another catalogue to search for translation lookup.
 This function is useful for extern libraries and/or code,
 that provides its own messages.
</p>
<p> If the catalogue does not exist for the chosen language,
 it will be ignored and C will be used.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>catalogue</i></TD><TD align="left" valign="top">The catalogue to add.
</TD></TR>
</TABLE></P>
<A NAME="translateQt"></A><A NAME="ref43"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>translateQt</strong> (const char *context, const char *sourceText)
<br></td><td align="right"><h3><strong>translateQt</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 translates a message as a QTranslator is supposed to.
 The parameters are similiar to i18n(), but the result
 value has other semantics (it can be QString::null)
</p>
<A NAME="splitLocale"></A><A NAME="ref44"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>splitLocale</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& str,<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& language, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& country,
                     <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &charset)
<br></td><td align="right"><h3><strong>splitLocale</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 returns the parts of the parameter str understood as language setting
 the format is language_country.charset
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>str</i></TD><TD align="left" valign="top">The string to split.
</TD></TR>
<TR><TD align="left" valign="top"><i>language</i></TD><TD align="left" valign="top">This will be set to the language part of the string.
</TD></TR>
<TR><TD align="left" valign="top"><i>country</i></TD><TD align="left" valign="top">This will be set to the country part of the string.
</TD></TR>
<TR><TD align="left" valign="top"><i>charset</i></TD><TD align="left" valign="top">This will be set to the charset part of the stirng.
     </TD></TR>
</TABLE></P>
<A NAME="initFormat"></A><A NAME="ref45"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>initFormat</strong> (<A HREF="KConfig.html">KConfig</A> *config)
<br></td><td align="right"><h3><strong>initFormat</strong></h3></td></tr></table><p></p><p>
 Init the localization part of the instance with the config object.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>config</i></TD><TD align="left" valign="top">The configuration object used for init.
     </TD></TR>
</TABLE></P>
<A NAME="initLanguage"></A><A NAME="ref46"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>initLanguage</strong> (<A HREF="KConfig.html">KConfig</A> *config, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& catalogue)
<br></td><td align="right"><h3><strong>initLanguage</strong></h3></td></tr></table><p></p><p>
 Init the language part of the instance with the given config object. It
 should be valid and contain the global entries.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>config</i></TD><TD align="left" valign="top">The configuration object used for init.
</TD></TR>
<TR><TD align="left" valign="top"><i>catalogue</i></TD><TD align="left" valign="top">The main catalogue to use.
</TD></TR>
</TABLE></P>
<A NAME="inited"></A><A NAME="ref47"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>inited</strong> ()
<br></td><td align="right"><h3><strong>inited</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
</p>
<p></p>
<p><b>Returns</b>: Returns true if locale is inited.
     </p>
<A NAME="setMainCatalogue"></A><A NAME="ref48"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setMainCatalogue</strong> (const char *catalogue)
<br></td><td align="right"><h3><strong>setMainCatalogue</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Use this to as main catalogue for *all* KLocales, if not the appname
 will be used.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>catalogue</i></TD><TD align="left" valign="top">Catalogue to override all other main catalogues.
     </TD></TR>
</TABLE></P>
<A NAME="langLookup"></A><A NAME="ref49"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>langLookup</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &fname, const char *rtype = "html")
<br></td><td align="right"><h3><strong>langLookup</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Find localized resource in resourceDir( rtype ) + <lang> + fname.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>fname</i></TD><TD align="left" valign="top">relative path to find
</TD></TR>
<TR><TD align="left" valign="top"><i>rtype</i></TD><TD align="left" valign="top">resource type to use
     </TD></TR>
</TABLE></P>
<A NAME="chset"></A><A NAME="ref50"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>chset</strong>
</td><td align="right"><h3><strong>chset</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="m_weekStartsMonday"></A><A NAME="ref51"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool  <strong>m_weekStartsMonday</strong>
</td><td align="right"><h3><strong>m_weekStartsMonday</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_decimalSymbol"></A><A NAME="ref52"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_decimalSymbol</strong>
</td><td align="right"><h3><strong>_decimalSymbol</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_thousandsSeparator"></A><A NAME="ref53"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_thousandsSeparator</strong>
</td><td align="right"><h3><strong>_thousandsSeparator</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_currencySymbol"></A><A NAME="ref54"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_currencySymbol</strong>
</td><td align="right"><h3><strong>_currencySymbol</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_monetaryDecimalSymbol"></A><A NAME="ref55"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_monetaryDecimalSymbol</strong>
</td><td align="right"><h3><strong>_monetaryDecimalSymbol</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_monetaryThousandsSeparator"></A><A NAME="ref56"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_monetaryThousandsSeparator</strong>
</td><td align="right"><h3><strong>_monetaryThousandsSeparator</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_positiveSign"></A><A NAME="ref57"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_positiveSign</strong>
</td><td align="right"><h3><strong>_positiveSign</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_negativeSign"></A><A NAME="ref58"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_negativeSign</strong>
</td><td align="right"><h3><strong>_negativeSign</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_fracDigits"></A><A NAME="ref59"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int  <strong>_fracDigits</strong>
</td><td align="right"><h3><strong>_fracDigits</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_positivePrefixCurrencySymbol"></A><A NAME="ref60"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool  <strong>_positivePrefixCurrencySymbol</strong>
</td><td align="right"><h3><strong>_positivePrefixCurrencySymbol</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_negativePrefixCurrencySymbol"></A><A NAME="ref61"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool  <strong>_negativePrefixCurrencySymbol</strong>
</td><td align="right"><h3><strong>_negativePrefixCurrencySymbol</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_positiveMonetarySignPosition"></A><A NAME="ref62"></A><table width="100%"><tr bgcolor="#eeeeee"><td>SignPosition  <strong>_positiveMonetarySignPosition</strong>
</td><td align="right"><h3><strong>_positiveMonetarySignPosition</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_negativeMonetarySignPosition"></A><A NAME="ref63"></A><table width="100%"><tr bgcolor="#eeeeee"><td>SignPosition  <strong>_negativeMonetarySignPosition</strong>
</td><td align="right"><h3><strong>_negativeMonetarySignPosition</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_timefmt"></A><A NAME="ref64"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_timefmt</strong>
</td><td align="right"><h3><strong>_timefmt</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_datefmt"></A><A NAME="ref65"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_datefmt</strong>
</td><td align="right"><h3><strong>_datefmt</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_datefmtshort"></A><A NAME="ref66"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_datefmtshort</strong>
</td><td align="right"><h3><strong>_datefmtshort</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="catalogues"></A><A NAME="ref67"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstrlist.html">QStrList</A> * <strong>catalogues</strong>
</td><td align="right"><h3><strong>catalogues</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_inited"></A><A NAME="ref68"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool  <strong>_inited</strong>
</td><td align="right"><h3><strong>_inited</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="lang"></A><A NAME="ref69"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>  <strong>lang</strong>
</td><td align="right"><h3><strong>lang</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_codec"></A><A NAME="ref70"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtextcodec.html">QTextCodec</A> * <strong>_codec</strong>
</td><td align="right"><h3><strong>_codec</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="langs"></A><A NAME="ref71"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>langs</strong>
</td><td align="right"><h3><strong>langs</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="_country"></A><A NAME="ref72"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>_country</strong>
</td><td align="right"><h3><strong>_country</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="readTime"></A><A NAME="ref73"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qtime.html">QTime</A> &nbsp;<strong>readTime</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &str, bool seconds)
<br></td><td align="right"><h3><strong>readTime</strong></h3></td></tr></table><p> <small>[protected const]</small></p><p>
     </p>
<A NAME="readDate"></A><A NAME="ref74"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdate.html">QDate</A> &nbsp;<strong>readDate</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &str, bool shortfmt)
<br></td><td align="right"><h3><strong>readDate</strong></h3></td></tr></table><p> <small>[protected const]</small></p><p>
     </p>
<A NAME="setEncodingLang"></A><A NAME="ref75"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setEncodingLang</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &_lang)
<br></td><td align="right"><h3><strong>setEncodingLang</strong></h3></td></tr></table><p> <small>[protected]</small></p><p>
     </p>
<A NAME="KLocale"></A><A NAME="ref76"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KLocale</strong> ( const <A HREF="KLocale.html">KLocale</A>& )
<br></td><td align="right"><h3><strong>KLocale</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="operator=%20"></A><A NAME="ref77"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KLocale.html">KLocale</A>& &nbsp;<strong>operator= </strong> ( const <A HREF="KLocale.html">KLocale</A>& )
<br></td><td align="right"><h3><strong>operator= </strong></h3></td></tr></table><p> <small>[protected]</small></p><HR><UL><LI><i>Author</i>: Stephan Kulow <coolo@kde.org>, Preston Brown <pbrown@kde.org>, Hans Petter Bieker <bieker@kde.org>
</LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:08:56 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>