You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
584 lines
35 KiB
584 lines
35 KiB
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
|
|
"http://www.w3.org/TR/html4/loose.dtd"">
|
|
<html>
|
|
<head>
|
|
<title>class TDELocale</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<meta name="GENERATOR" content="wabbit dumphtml">
|
|
</head>
|
|
<body>
|
|
<h4>PyKDE - Python Bindings for KDE</h4>
|
|
<hr>
|
|
<table width="100%"><tr>
|
|
<td width ="70%">
|
|
<h1>class TDELocale</h1><hr>
|
|
</td>
|
|
<td width="30%" valign="top" align="right">
|
|
<table>
|
|
<tr><td align="right"><a href="doc/index.html">Table of contents</a></td></tr>
|
|
<tr><td align="right"><a href="../index.html">Modules</a></td></tr>
|
|
<tr><td align="right"><a href="index.html">tdecore Classes</a></td></tr>
|
|
<tr><td align="right"><a href="../allclasses.html">All Classes</a></td></tr>
|
|
</table>
|
|
</td>
|
|
</tr></table>
|
|
<table>
|
|
<tr><td width="10%" align=left>Module</td>
|
|
<td width="30%" align=left>tdecore</td>
|
|
</tr>
|
|
<tr><td>Class</td>
|
|
<td>TDELocale</td>
|
|
</tr>
|
|
<tr><td>Inherits</td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
<h3>enums</h3><ul>
|
|
<li><b>MeasureSystem</b> = {Metric, Imperial
|
|
}<li><b>ReadDateFlags</b> = {NormalFormat, ShortFormat
|
|
}<li><b>ReadTimeFlags</b> = {WithSeconds, WithoutSeconds
|
|
}<li><b>SignPosition</b> = {ParensAround, BeforeQuantityMoney, AfterQuantityMoney, BeforeMoney, AfterMoney
|
|
}</ul>
|
|
<h3>methods</h3><ul>
|
|
<li><b>TDELocale</b> (catalog, config = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDELocale instance</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>catalog</td><td>TQString</td><td></td></tr>
|
|
<tr><td>config</td><td>TDEConfig</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>TDELocale</b> (rhs)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td><i>Not Implemented</i></td></tr></table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>TDELocale</b> (a0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDELocale instance</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>a0</td><td>TDELocale</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>_initLanguage</b> (config)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.0.1 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>config</td><td>TDEConfigBase</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>allCountriesTwoAlpha</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>allLanguagesTwoAlpha</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>calendar</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KCalendarSystem)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>calendarType</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>charset</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td><i>Not Implemented</i></td></tr></table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>codecForEncoding</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQTextCodec)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>country</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>currencySymbol</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>dateFormat</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>dateFormatShort</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>dateMonthNamePossessive</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>decimalSymbol</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>defaultCountry</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>defaultLanguage</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>encoding</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(char)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>encodingMib</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>fileEncodingMib</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>formatDate</b> (pDate, shortFormat = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>pDate</td><td>TQDate</td><td></td></tr>
|
|
<tr><td>shortFormat</td><td>bool</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>formatDateTime</b> (pDateTime, shortFormat, includeSecs = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>pDateTime</td><td>TQDateTime</td><td></td></tr>
|
|
<tr><td>shortFormat</td><td>bool</td><td></td></tr>
|
|
<tr><td>includeSecs</td><td>bool</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>formatLong</b> (num)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>num</td><td>long</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>formatMoney</b> (num, currency = TQString .null, digits = -1)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>num</td><td>double</td><td></td></tr>
|
|
<tr><td>currency</td><td>TQString</td><td>TQString .null</td></tr>
|
|
<tr><td>digits</td><td>int</td><td>-1</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>formatMoney</b> (numStr)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>numStr</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>formatNumber</b> (num, precision = -1)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>num</td><td>double</td><td></td></tr>
|
|
<tr><td>precision</td><td>int</td><td>-1</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>formatNumber</b> (numStr)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>numStr</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>formatNumber</b> (numStr, round, precision)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.5.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>numStr</td><td>TQString</td><td></td></tr>
|
|
<tr><td>round</td><td>bool</td><td></td></tr>
|
|
<tr><td>precision</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>formatTime</b> (pTime, includeSecs, isDuration)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.3.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>pTime</td><td>TQTime</td><td></td></tr>
|
|
<tr><td>includeSecs</td><td>bool</td><td></td></tr>
|
|
<tr><td>isDuration</td><td>bool</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>formatTime</b> (pTime, includeSecs = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>pTime</td><td>TQTime</td><td></td></tr>
|
|
<tr><td>includeSecs</td><td>bool</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>fracDigits</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>initInstance</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td><i>Not Implemented</i></td></tr></table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>insertCatalogue</b> (catalog)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>catalog</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>langLookup</b> (fname, rtype = "html")
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>fname</td><td>TQString</td><td></td></tr>
|
|
<tr><td>rtype</td><td>char</td><td>"html"</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>language</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>languageList</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>languages</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>languagesTwoAlpha</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>measureSystem</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDELocale.MeasureSystem)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>monetaryDecimalSymbol</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>monetaryThousandsSeparator</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>monthName</b> (i, shortName = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>i</td><td>int</td><td></td></tr>
|
|
<tr><td>shortName</td><td>bool</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>monthNamePossessive</b> (i, shortName = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>i</td><td>int</td><td></td></tr>
|
|
<tr><td>shortName</td><td>bool</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>negativeMonetarySignPosition</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(SignPosition)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>negativePrefixCurrencySymbol</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>negativeSign</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>nounDeclension</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>pageSize</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>positiveMonetarySignPosition</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(SignPosition)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>positivePrefixCurrencySymbol</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>positiveSign</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>readDate</b> (str)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQDate) ok (bool)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>str</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>readDate</b> (intstr, fmt)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQDate) ok (bool)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>intstr</td><td>TQString</td><td></td></tr>
|
|
<tr><td>fmt</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>readDate</b> (str, flags)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQDate) ok (bool)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>str</td><td>TQString</td><td></td></tr>
|
|
<tr><td>flags</td><td>TDELocale.ReadDateFlags</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>readMoney</b> (numStr)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(double) ok (bool)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>numStr</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>readNumber</b> (numStr)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(double) ok (bool)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>numStr</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>readTime</b> (str)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQTime) ok (bool)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>str</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>readTime</b> (str, flags)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQTime) ok (bool)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>str</td><td>TQString</td><td></td></tr>
|
|
<tr><td>flags</td><td>TDELocale.ReadTimeFlags</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>removeCatalogue</b> (catalog)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>catalog</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setActiveCatalogue</b> (catalog)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>catalog</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setCalendar</b> (calendarType)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>calendarType</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setCharset</b> (charset)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td><i>Not Implemented</i></td></tr></table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setCountry</b> (country)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>country</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setCurrencySymbol</b> (symbol)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>symbol</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setDateFormat</b> (format)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>format</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setDateFormatShort</b> (format)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>format</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setDateMonthNamePossessive</b> (possessive)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>possessive</td><td>bool</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setDecimalSymbol</b> (symbol)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>symbol</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setEncoding</b> (mibEnum)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>mibEnum</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setFracDigits</b> (digits)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>digits</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setLanguage</b> (language)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>language</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setLanguage</b> (languages)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>languages</td><td>TQStringList</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setMainCatalogue</b> (catalog)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>catalog</td><td>char</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setMeasureSystem</b> (value)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>value</td><td>TDELocale.MeasureSystem</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setMonetaryDecimalSymbol</b> (symbol)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>symbol</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setMonetaryThousandsSeparator</b> (separator)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>separator</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setNegativeMonetarySignPosition</b> (signpos)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>signpos</td><td>TDELocale.SignPosition</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setNegativePrefixCurrencySymbol</b> (prefix)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>prefix</td><td>bool</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setNegativeSign</b> (sign)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>sign</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setPageSize</b> (paperFormat)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>paperFormat</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setPositiveMonetarySignPosition</b> (signpos)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>signpos</td><td>TDELocale.SignPosition</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setPositivePrefixCurrencySymbol</b> (prefix)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>prefix</td><td>bool</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setPositiveSign</b> (sign)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>sign</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setThousandsSeparator</b> (separator)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>separator</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setTimeFormat</b> (format)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>format</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setWeekStartDay</b> (day)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>day</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setWeekStartsMonday</b> (start)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>start</td><td>bool</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>splitLocale</b> (str, language, country, charset)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>str</td><td>TQString</td><td></td></tr>
|
|
<tr><td>language</td><td>TQString</td><td></td></tr>
|
|
<tr><td>country</td><td>TQString</td><td></td></tr>
|
|
<tr><td>charset</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>thousandsSeparator</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>timeFormat</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>translate</b> (index)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>index</td><td>char</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>translate</b> (comment, fallback)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>comment</td><td>char</td><td></td></tr>
|
|
<tr><td>fallback</td><td>char</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>translate</b> (singular, plural, n)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>singular</td><td>char</td><td></td></tr>
|
|
<tr><td>plural</td><td>char</td><td></td></tr>
|
|
<tr><td>n</td><td>ulong</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>translateQt</b> (context, sourceText, message)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>context</td><td>char</td><td></td></tr>
|
|
<tr><td>sourceText</td><td>char</td><td></td></tr>
|
|
<tr><td>message</td><td>char</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>twoAlphaToCountryName</b> (code)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>code</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>twoAlphaToLanguageName</b> (code)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>code</td><td>TQString</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>use12Clock</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>weekDayName</b> (i, shortName = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>i</td><td>int</td><td></td></tr>
|
|
<tr><td>shortName</td><td>bool</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>weekStartDay</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>weekStartsMonday</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
</ul>
|
|
|
|
</body>
|
|
</html>
|