#include <klocale_p.h>

Public Member Functions | |
| KLocalePrivate (KLocale *q_ptr) | |
| KLocalePrivate (const KLocalePrivate &rhs) | |
| virtual | ~KLocalePrivate () |
| virtual QStringList | allCountriesList () const |
| virtual QList< KLocale::DigitSet > | allDigitSetsList () const |
| virtual QStringList | allLanguagesList () |
| virtual KLocale::BinaryUnitDialect | binaryUnitDialect () const |
| virtual const KCalendarSystem * | calendar () |
| KLocale::CalendarSystem | calendarSystem () const |
| virtual QString | calendarType () const |
| virtual QTextCodec * | codecForEncoding () const |
| virtual QString | convertDigits (const QString &str, KLocale::DigitSet digitSet, bool ignoreContext=false) const |
| virtual void | copyCatalogsTo (KLocale *locale) |
| virtual QString | country () const |
| virtual QString | countryCodeToName (const QString &country) const |
| QString | countryDivisionCode () const |
| virtual KCurrencyCode * | currency () |
| virtual QString | currencyCode () const |
| virtual QStringList | currencyCodeList () const |
| virtual QString | currencySymbol () const |
| virtual QString | dateFormat () const |
| virtual QString | dateFormatShort () const |
| virtual bool | dateMonthNamePossessive () const |
| virtual KLocale::DigitSet | dateTimeDigitSet () const |
| virtual KDayPeriod | dayPeriodForTime (const QTime &time) const |
| virtual QList< KDayPeriod > | dayPeriods () const |
| virtual int | decimalPlaces () const |
| virtual QString | decimalSymbol () const |
| virtual KLocale::DigitSet | digitSet () const |
| virtual QString | digitSetToName (KLocale::DigitSet digitSet, bool withDigits=false) const |
| virtual const QByteArray | encoding () |
| virtual int | encodingMib () const |
| virtual int | fileEncodingMib () const |
| virtual QString | formatByteSize (double size) |
| virtual QString | formatByteSize (double size, int precision, KLocale::BinaryUnitDialect dialect=KLocale::DefaultBinaryDialect, KLocale::BinarySizeUnits specificUnit=KLocale::DefaultBinaryUnits) |
| virtual QString | formatDate (const QDate &date, KLocale::DateFormat format=KLocale::LongDate) |
| virtual QString | formatDateTime (const QDateTime &dateTime, KLocale::DateFormat format=KLocale::ShortDate, bool includeSecs=false) const |
| virtual QString | formatDateTime (const KDateTime &dateTime, KLocale::DateFormat format=KLocale::ShortDate, KLocale::DateTimeFormatOptions options=0) |
| virtual QString | formatDuration (unsigned long mSec) const |
| virtual QString | formatLocaleTime (const QTime &pTime, KLocale::TimeFormatOptions options=KLocale::TimeDefault) const |
| virtual QString | formatLong (long num) const |
| virtual QString | formatMoney (double num, const QString ¤cy=QString(), int precision=-1) const |
| virtual QString | formatNumber (double num, int precision=-1) const |
| virtual QString | formatNumber (const QString &numStr, bool round=true, int precision=-1) const |
| virtual QString | formatTime (const QTime &pTime, bool includeSecs=false, bool isDuration=false) const |
| virtual void | insertCatalog (const QString &catalog) |
| virtual QStringList | installedLanguages () |
| virtual bool | isApplicationTranslatedInto (const QString &language) |
| virtual QString | language () const |
| virtual QString | languageCodeToName (const QString &language) |
| virtual QStringList | languageList () const |
| virtual QString | localizedFilePath (const QString &filePath) const |
| virtual KLocale::MeasureSystem | measureSystem () const |
| virtual int | monetaryDecimalPlaces () const |
| virtual QString | monetaryDecimalSymbol () const |
| virtual QList< int > | monetaryDigitGrouping () const |
| virtual KLocale::DigitSet | monetaryDigitSet () const |
| virtual QString | monetaryThousandsSeparator () const |
| virtual KLocale::SignPosition | negativeMonetarySignPosition () const |
| virtual bool | negativePrefixCurrencySymbol () const |
| virtual QString | negativeSign () const |
| virtual bool | nounDeclension () const |
| virtual QList< int > | numericDigitGrouping () const |
| KLocalePrivate & | operator= (const KLocalePrivate &rhs) |
| virtual int | pageSize () const |
| virtual KLocale::SignPosition | positiveMonetarySignPosition () const |
| virtual bool | positivePrefixCurrencySymbol () const |
| virtual QString | positiveSign () const |
| virtual QString | prettyFormatDuration (unsigned long mSec) const |
| virtual QDate | readDate (const QString &str, bool *ok=0) |
| virtual QDate | readDate (const QString &intstr, const QString &fmt, bool *ok=0) |
| virtual QDate | readDate (const QString &str, KLocale::ReadDateFlags flags, bool *ok=0) |
| virtual QTime | readLocaleTime (const QString &str, bool *ok=0, KLocale::TimeFormatOptions options=KLocale::TimeDefault, KLocale::TimeProcessingOptions processing=KLocale::ProcessNonStrict) const |
| virtual double | readMoney (const QString &numStr, bool *ok=0) const |
| virtual double | readNumber (const QString &numStr, bool *ok=0) const |
| virtual QTime | readTime (const QString &str, bool *ok=0) const |
| virtual QTime | readTime (const QString &str, KLocale::ReadTimeFlags flags, bool *ok=0) const |
| virtual QString | removeAcceleratorMarker (const QString &label) const |
| virtual void | removeCatalog (const QString &catalog) |
| virtual void | setActiveCatalog (const QString &catalog) |
| virtual void | setBinaryUnitDialect (KLocale::BinaryUnitDialect newDialect) |
| virtual void | setCalendar (const QString &calendarType) |
| virtual void | setCalendarSystem (KLocale::CalendarSystem) |
| virtual bool | setCountry (const QString &country, KConfig *config) |
| bool | setCountryDivisionCode (const QString &countryDivision) |
| virtual void | setCurrencyCode (const QString &newCurrencyCode) |
| virtual void | setCurrencySymbol (const QString &symbol) |
| virtual void | setDateFormat (const QString &format) |
| virtual void | setDateFormatShort (const QString &format) |
| virtual void | setDateMonthNamePossessive (bool possessive) |
| virtual void | setDateTimeDigitSet (KLocale::DigitSet digitSet) |
| virtual void | setDayPeriods (const QList< KDayPeriod > &dayPeriods) |
| virtual void | setDecimalPlaces (int digits) |
| virtual void | setDecimalSymbol (const QString &symbol) |
| virtual void | setDigitSet (KLocale::DigitSet digitSet) |
| virtual bool | setEncoding (int mibEnum) |
| virtual bool | setLanguage (const QString &language, KConfig *config) |
| virtual bool | setLanguage (const QStringList &languages) |
| virtual void | setMeasureSystem (KLocale::MeasureSystem value) |
| virtual void | setMonetaryDecimalPlaces (int digits) |
| virtual void | setMonetaryDecimalSymbol (const QString &symbol) |
| virtual void | setMonetaryDigitGrouping (QList< int > groupList) |
| virtual void | setMonetaryDigitSet (KLocale::DigitSet digitSet) |
| virtual void | setMonetaryThousandsSeparator (const QString &separator) |
| virtual void | setNegativeMonetarySignPosition (KLocale::SignPosition signpos) |
| virtual void | setNegativePrefixCurrencySymbol (bool prefix) |
| virtual void | setNegativeSign (const QString &sign) |
| virtual void | setNumericDigitGrouping (QList< int > groupList) |
| virtual void | setPageSize (int paperFormat) |
| virtual void | setPositiveMonetarySignPosition (KLocale::SignPosition signpos) |
| virtual void | setPositivePrefixCurrencySymbol (bool prefix) |
| virtual void | setPositiveSign (const QString &sign) |
| virtual void | setThousandsSeparator (const QString &separator) |
| virtual void | setTimeFormat (const QString &format) |
| virtual void | setWeekDayOfPray (int day) |
| void | setWeekNumberSystem (KLocale::WeekNumberSystem weekNumberSystem) |
| virtual void | setWeekStartDay (int day) |
| virtual void | setWorkingWeekEndDay (int day) |
| virtual void | setWorkingWeekStartDay (int day) |
| virtual QString | thousandsSeparator () const |
| virtual QString | timeFormat () const |
| virtual QString | translateQt (const char *context, const char *sourceText, const char *comment) const |
| virtual void | translateRawFrom (const char *catname, const char *msgctxt, const char *msgid, const char *msgid_plural=0, unsigned long n=0, QString *language=0, QString *translation=0) const |
| virtual bool | use12Clock () const |
| virtual bool | useTranscript () const |
| virtual int | weekDayOfPray () const |
| KLocale::WeekNumberSystem | weekNumberSystem () |
| virtual int | weekStartDay () const |
| virtual int | workingWeekEndDay () const |
| virtual int | workingWeekStartDay () const |
Static Public Member Functions | |
| static QString | defaultCountry () |
| static QString | defaultCurrencyCode () |
| static QString | defaultLanguage () |
| static QString | formatDateTime (const KLocale *locale, const QDateTime &dateTime, KLocale::DateFormat, bool includeSeconds, int daysToNow, int secsToNow) |
| static QString | langLookup (const QString &fname, const char *rtype="html") |
| static void | setMainCatalog (const char *catalog) |
| static void | splitLocale (const QString &locale, QString &language, QString &country, QString &modifier, QString &charset) |
Public Attributes | |
| KLocale * | q |
Protected Types | |
| enum | DurationType { DaysDurationType = 0, HoursDurationType, MinutesDurationType, SecondsDurationType } |
Protected Member Functions | |
| virtual QString | calendarSystemToCalendarType (KLocale::CalendarSystem) const |
| virtual KLocale::CalendarSystem | calendarTypeToCalendarSystem (const QString &calendarType) const |
| KConfig * | config () |
| virtual void | copy (const KLocalePrivate &rhs) |
| QList< QString > | dialectUnitsList (KLocale::BinaryUnitDialect dialect) |
| virtual void | init (const QString &catalogName, const QString &language, const QString &country, KSharedConfig::Ptr persistantconfig, KConfig *tempConfig) |
| virtual void | initConfig (KConfig *config) |
| virtual void | initCountry (const QString &country, const QString &configCountry) |
| virtual void | initCurrency () |
| virtual void | initDayPeriods (const KConfigGroup &cg) |
| virtual void | initEncoding () |
| virtual void | initFileNameEncoding () |
| virtual void | initFormat () |
| virtual void | initLanguageList (const QString &language, const QString &configLanguages, bool useEnv) |
| virtual void | initMainCatalogs () |
| virtual QByteArray | systemCodeset () const |
| virtual QString | systemCountry () const |
| virtual QStringList | systemLanguageList () const |
| virtual void | updateCatalogs () |
| virtual bool | useDefaultLanguage () const |
Static Protected Member Functions | |
| static QString | decodeFileNameUTF8 (const QByteArray &localFileName) |
| static QString | digitSetString (KLocale::DigitSet digitSet) |
| static QByteArray | encodeFileNameUTF8 (const QString &fileName) |
| static QString | formatSingleDuration (KLocalePrivate::DurationType durationType, int n) |
| static void | getLanguagesFromVariable (QStringList &list, const char *variable, bool isLanguageList=false) |
| static QString | toArabicDigits (const QString &str) |
Member Enumeration Documentation
enum KLocalePrivate::DurationType [protected] |
Definition at line 978 of file klocale_p.h.
Constructor & Destructor Documentation
| KLocalePrivate::KLocalePrivate | ( | KLocale * | q_ptr | ) |
Constructors.
This class should not be instantited directly, it is intended as a base class for each platform to provide a common KDE fallback implementation. Instead use the relevant derived system class for Unix, Win, or Mac which will prefer the local platform settings where possible.
Definition at line 105 of file klocale_kde.cpp.
| KLocalePrivate::KLocalePrivate | ( | const KLocalePrivate & | rhs | ) |
Copy constructor.
Definition at line 118 of file klocale_kde.cpp.
| KLocalePrivate::~KLocalePrivate | ( | ) | [virtual] |
Destructor.
Definition at line 219 of file klocale_kde.cpp.
Member Function Documentation
| QStringList KLocalePrivate::allCountriesList | ( | ) | const [virtual] |
Returns a list of all known country codes. The worker of the same-name KLocale API function.
Definition at line 2929 of file klocale_kde.cpp.
| QList< KLocale::DigitSet > KLocalePrivate::allDigitSetsList | ( | ) | const [virtual] |
Provides list of all known digit set identifiers. The worker of the same-name KLocale API function.
Definition at line 1033 of file klocale_kde.cpp.
| QStringList KLocalePrivate::allLanguagesList | ( | ) | [virtual] |
Returns a list of all known language codes. The worker of the same-name KLocale API function.
Definition at line 2899 of file klocale_kde.cpp.
| KLocale::BinaryUnitDialect KLocalePrivate::binaryUnitDialect | ( | ) | const [virtual] |
Returns the user's default binary unit dialect. The worker of the same-name KLocale API function.
Definition at line 1762 of file klocale_kde.cpp.
| const KCalendarSystem * KLocalePrivate::calendar | ( | ) | [virtual] |
Returns a pointer to the calendar system object. The worker of the same-name KLocale API function.
Definition at line 3039 of file klocale_kde.cpp.
| KLocale::CalendarSystem KLocalePrivate::calendarSystem | ( | ) | const |
Returns the type of the calendar system that is currently being used by the system. The worker of the same-name KLocale API function.
Definition at line 3034 of file klocale_kde.cpp.
| QString KLocalePrivate::calendarSystemToCalendarType | ( | KLocale::CalendarSystem | calendarSystem | ) | const [protected, virtual] |
Converts a CalendarSystem into a CalendarType
Definition at line 2985 of file klocale_kde.cpp.
| QString KLocalePrivate::calendarType | ( | ) | const [virtual] |
Returns the name of the calendar system that is currently being used by the system. The worker of the same-name KLocale API function.
Definition at line 3029 of file klocale_kde.cpp.
| KLocale::CalendarSystem KLocalePrivate::calendarTypeToCalendarSystem | ( | const QString & | calendarType | ) | const [protected, virtual] |
Converts a CalendarType into a CalendarSystem
Definition at line 2954 of file klocale_kde.cpp.
| QTextCodec * KLocalePrivate::codecForEncoding | ( | ) | const [virtual] |
Returns the user's preferred encoding. The worker of the same-name KLocale API function.
Definition at line 2884 of file klocale_kde.cpp.
| KConfig * KLocalePrivate::config | ( | ) | [protected] |
Returns config object
Definition at line 129 of file klocale_kde.cpp.
| QString KLocalePrivate::convertDigits | ( | const QString & | str, |
| KLocale::DigitSet | digitSet, | ||
| bool | ignoreContext = false |
||
| ) | const [virtual] |
Convert all digits in the string to the given digit set. The worker of the same-name KLocale API function.
Definition at line 1144 of file klocale_kde.cpp.
| void KLocalePrivate::copy | ( | const KLocalePrivate & | rhs | ) | [protected, virtual] |
Copies object members
Definition at line 138 of file klocale_kde.cpp.
| void KLocalePrivate::copyCatalogsTo | ( | KLocale * | locale | ) | [virtual] |
Copies the catalogs of this object to an other KLocale object. The worker of the same-name KLocale API function.
Definition at line 3058 of file klocale_kde.cpp.
| QString KLocalePrivate::country | ( | ) | const [virtual] |
Returns the Locale ISO Country Code The worker of the same-name KLocale API function.
Definition at line 784 of file klocale_kde.cpp.
| QString KLocalePrivate::countryCodeToName | ( | const QString & | country | ) | const [virtual] |
Convert a known country code to a human readable, localized form. The worker of the same-name KLocale API function.
Definition at line 2942 of file klocale_kde.cpp.
| QString KLocalePrivate::countryDivisionCode | ( | ) | const |
Returns the Country Division Code The worker of the same-name KLocale API function.
Definition at line 789 of file klocale_kde.cpp.
| KCurrencyCode * KLocalePrivate::currency | ( | ) | [virtual] |
Returns the Locale Currency object The worker of the same-name KLocale API function.
Definition at line 798 of file klocale_kde.cpp.
| QString KLocalePrivate::currencyCode | ( | ) | const [virtual] |
Returns the Locale ISO Currency Code The worker of the same-name KLocale API function.
Definition at line 806 of file klocale_kde.cpp.
| QStringList KLocalePrivate::currencyCodeList | ( | ) | const [virtual] |
Returns the ISO Currency Codes used in the locale The worker of the same-name KLocale API function.
Definition at line 2492 of file klocale_kde.cpp.
| QString KLocalePrivate::currencySymbol | ( | ) | const [virtual] |
Returns the default currency symbol used by locale. The worker of the same-name KLocale API function.
Definition at line 1231 of file klocale_kde.cpp.
| QString KLocalePrivate::dateFormat | ( | ) | const [virtual] |
Returns the currently selected date format. The worker of the same-name KLocale API function.
Definition at line 2732 of file klocale_kde.cpp.
| QString KLocalePrivate::dateFormatShort | ( | ) | const [virtual] |
Returns the currently selected short date format. The worker of the same-name KLocale API function.
Definition at line 2737 of file klocale_kde.cpp.
| bool KLocalePrivate::dateMonthNamePossessive | ( | ) | const [virtual] |
Returns if possessive form of month name should be used The worker of the same-name KLocale API function.
Definition at line 1186 of file klocale_kde.cpp.
| KLocale::DigitSet KLocalePrivate::dateTimeDigitSet | ( | ) | const [virtual] |
Returns the identifier of the digit set used to display dates and time. The worker of the same-name KLocale API function.
Definition at line 3128 of file klocale_kde.cpp.
| KDayPeriod KLocalePrivate::dayPeriodForTime | ( | const QTime & | time | ) | const [virtual] |
The worker of the same-name KLocale API function.
Definition at line 2475 of file klocale_kde.cpp.
| QList< KDayPeriod > KLocalePrivate::dayPeriods | ( | ) | const [virtual] |
The worker of the same-name KLocale API function.
Definition at line 2454 of file klocale_kde.cpp.
| int KLocalePrivate::decimalPlaces | ( | ) | const [virtual] |
Returns the number of numeric decimal places used by locale. The worker of the same-name KLocale API function.
Definition at line 1211 of file klocale_kde.cpp.
| QString KLocalePrivate::decimalSymbol | ( | ) | const [virtual] |
Returns the decimal symbol used by locale. The worker of the same-name KLocale API function.
Definition at line 1216 of file klocale_kde.cpp.
| QString KLocalePrivate::decodeFileNameUTF8 | ( | const QByteArray & | localFileName | ) | [static, protected] |
QFile filename decoding function (QFile::decodeFn).
Definition at line 2679 of file klocale_kde.cpp.
| QString KLocalePrivate::defaultCountry | ( | ) | [static] |
Returns the name of the default country. The worker of the same-name KLocale API function.
Definition at line 2851 of file klocale_kde.cpp.
| QString KLocalePrivate::defaultCurrencyCode | ( | ) | [static] |
Returns the ISO Code of the default currency. The worker of the same-name KLocale API function.
Definition at line 2856 of file klocale_kde.cpp.
| QString KLocalePrivate::defaultLanguage | ( | ) | [static] |
Returns the name of the internal language. The worker of the same-name KLocale API function.
Definition at line 2845 of file klocale_kde.cpp.
| QList< QString > KLocalePrivate::dialectUnitsList | ( | KLocale::BinaryUnitDialect | dialect | ) | [protected] |
- Returns:
- list of translated binary unit for
dialect.
Definition at line 1619 of file klocale_kde.cpp.
| KLocale::DigitSet KLocalePrivate::digitSet | ( | ) | const [virtual] |
Returns the identifier of the digit set used to display numbers. The worker of the same-name KLocale API function.
Definition at line 3108 of file klocale_kde.cpp.
| QString KLocalePrivate::digitSetString | ( | KLocale::DigitSet | digitSet | ) | [static, protected] |
Returns the digits for a digit set as a string, e.g. "0123456789"
Definition at line 1054 of file klocale_kde.cpp.
| QString KLocalePrivate::digitSetToName | ( | KLocale::DigitSet | digitSet, |
| bool | withDigits = false |
||
| ) | const [virtual] |
Convert a digit set identifier to a human readable, localized name. The worker of the same-name KLocale API function.
Definition at line 1088 of file klocale_kde.cpp.
| QByteArray KLocalePrivate::encodeFileNameUTF8 | ( | const QString & | fileName | ) | [static, protected] |
A QFile filename encoding function (QFile::encodeFn).
Definition at line 2674 of file klocale_kde.cpp.
| const QByteArray KLocalePrivate::encoding | ( | ) | [virtual] |
Returns the user's preferred encoding. The worker of the same-name KLocale API function.
Reimplemented in KLocaleWindowsPrivate.
Definition at line 2866 of file klocale_kde.cpp.
| int KLocalePrivate::encodingMib | ( | ) | const [virtual] |
Returns the user's preferred encoding. The worker of the same-name KLocale API function.
Definition at line 2871 of file klocale_kde.cpp.
| int KLocalePrivate::fileEncodingMib | ( | ) | const [virtual] |
Returns the file encoding. The worker of the same-name KLocale API function.
Definition at line 2876 of file klocale_kde.cpp.
| QString KLocalePrivate::formatByteSize | ( | double | size | ) | [virtual] |
Returns converted size as a string The worker of the same-name KLocale API function.
Definition at line 1757 of file klocale_kde.cpp.
| QString KLocalePrivate::formatByteSize | ( | double | size, |
| int | precision, | ||
| KLocale::BinaryUnitDialect | dialect = KLocale::DefaultBinaryDialect, |
||
| KLocale::BinarySizeUnits | specificUnit = KLocale::DefaultBinaryUnits |
||
| ) | [virtual] |
Returns converted size as a translated string including the units. The worker of the same-name KLocale API function.
Definition at line 1699 of file klocale_kde.cpp.
| QString KLocalePrivate::formatDate | ( | const QDate & | date, |
| KLocale::DateFormat | format = KLocale::LongDate |
||
| ) | [virtual] |
Returns a string formatted to the current locale's conventions The worker of the same-name KLocale API function.
Definition at line 1851 of file klocale_kde.cpp.
| QString KLocalePrivate::formatDateTime | ( | const KLocale * | locale, |
| const QDateTime & | dateTime, | ||
| KLocale::DateFormat | format, | ||
| bool | includeSeconds, | ||
| int | daysToNow, | ||
| int | secsToNow | ||
| ) | [static] |
Formats a date/time according to specified format. The worker of the same-name KLocale API function.
Definition at line 2497 of file klocale_kde.cpp.
| QString KLocalePrivate::formatDateTime | ( | const QDateTime & | dateTime, |
| KLocale::DateFormat | format = KLocale::ShortDate, |
||
| bool | includeSecs = false |
||
| ) | const [virtual] |
Return the date and time as a string The worker of the same-name KLocale API function.
Definition at line 2540 of file klocale_kde.cpp.
| QString KLocalePrivate::formatDateTime | ( | const KDateTime & | dateTime, |
| KLocale::DateFormat | format = KLocale::ShortDate, |
||
| KLocale::DateTimeFormatOptions | options = 0 |
||
| ) | [virtual] |
Return the date and time as a string The worker of the same-name KLocale API function.
Definition at line 2548 of file klocale_kde.cpp.
| QString KLocalePrivate::formatDuration | ( | unsigned long | mSec | ) | const [virtual] |
Returns converted duration as a string The worker of the same-name KLocale API function.
Definition at line 1776 of file klocale_kde.cpp.
| QString KLocalePrivate::formatLocaleTime | ( | const QTime & | pTime, |
| KLocale::TimeFormatOptions | options = KLocale::TimeDefault |
||
| ) | const [virtual] |
Returns a string formatted to the current locale's conventions regarding times. The worker of the same-name KLocale API function.
Definition at line 2334 of file klocale_kde.cpp.
| QString KLocalePrivate::formatLong | ( | long | num | ) | const [virtual] |
Returns a number as a localized string The worker of the same-name KLocale API function.
Definition at line 1464 of file klocale_kde.cpp.
| QString KLocalePrivate::formatMoney | ( | double | num, |
| const QString & | currency = QString(), |
||
| int | precision = -1 |
||
| ) | const [virtual] |
Returns an amount of money as a localized string The worker of the same-name KLocale API function.
Definition at line 1391 of file klocale_kde.cpp.
| QString KLocalePrivate::formatNumber | ( | double | num, |
| int | precision = -1 |
||
| ) | const [virtual] |
Returns a number as a localized string The worker of the same-name KLocale API function.
Definition at line 1455 of file klocale_kde.cpp.
| QString KLocalePrivate::formatNumber | ( | const QString & | numStr, |
| bool | round = true, |
||
| int | precision = -1 |
||
| ) | const [virtual] |
Returns a number as a localized string The worker of the same-name KLocale API function.
Definition at line 1562 of file klocale_kde.cpp.
| QString KLocalePrivate::formatSingleDuration | ( | KLocalePrivate::DurationType | durationType, |
| int | n | ||
| ) | [static, protected] |
Formats a duration according to the given type and number
Definition at line 1794 of file klocale_kde.cpp.
| QString KLocalePrivate::formatTime | ( | const QTime & | pTime, |
| bool | includeSecs = false, |
||
| bool | isDuration = false |
||
| ) | const [virtual] |
- Deprecated:
- replaced by formatLocaleTime()
Returns a string formatted to the current locale's conventions regarding times. The worker of the same-name KLocale API function.
Definition at line 2322 of file klocale_kde.cpp.
| void KLocalePrivate::getLanguagesFromVariable | ( | QStringList & | list, |
| const char * | variable, | ||
| bool | isLanguageList = false |
||
| ) | [static, protected] |
Converts a language variable in a list of languages
Definition at line 328 of file klocale_kde.cpp.
| void KLocalePrivate::init | ( | const QString & | catalogName, |
| const QString & | language, | ||
| const QString & | country, | ||
| KSharedConfig::Ptr | persistantconfig, | ||
| KConfig * | tempConfig | ||
| ) | [protected, virtual] |
Main init function, needs to be called by appropriate child constructor.
Definition at line 228 of file klocale_kde.cpp.
| void KLocalePrivate::initConfig | ( | KConfig * | config | ) | [protected, virtual] |
Init config.
Definition at line 270 of file klocale_kde.cpp.
| void KLocalePrivate::initCountry | ( | const QString & | country, |
| const QString & | configCountry | ||
| ) | [protected, virtual] |
Initializes the country if not already explicitly set when calling the constructor Will default to any value set in the config, otherwise will attempt to use the host system country, or finally fall back to the default C.
Definition at line 358 of file klocale_kde.cpp.
| void KLocalePrivate::initCurrency | ( | ) | [protected, virtual] |
Initialises the Currency
Definition at line 698 of file klocale_kde.cpp.
| void KLocalePrivate::initDayPeriods | ( | const KConfigGroup & | cg | ) | [protected, virtual] |
initialises the Day Periods
Definition at line 567 of file klocale_kde.cpp.
| void KLocalePrivate::initEncoding | ( | ) | [protected, virtual] |
Figures out which encoding the user prefers.
Definition at line 2616 of file klocale_kde.cpp.
| void KLocalePrivate::initFileNameEncoding | ( | ) | [protected, virtual] |
Figures out which encoding the user prefers for filenames and sets up the appropriate QFile encoding and decoding functions.
Definition at line 2661 of file klocale_kde.cpp.
| void KLocalePrivate::initFormat | ( | ) | [protected, virtual] |
Reads the format configuration from disk.
Definition at line 451 of file klocale_kde.cpp.
| void KLocalePrivate::initLanguageList | ( | const QString & | language, |
| const QString & | configLanguages, | ||
| bool | useEnv | ||
| ) | [protected, virtual] |
Initializes the list of valid languages from the user's point of view. This is the list of languages that the user picks in kcontrol. The config object should be valid and contain the global entries.
- Parameters:
-
language The defualt language to use configLanguages The "Language" setting from the current config useEnv Whether to use the envvars
Definition at line 401 of file klocale_kde.cpp.
| void KLocalePrivate::initMainCatalogs | ( | ) | [protected, virtual] |
Initializes the catalogs appname, kdelibs and kio for all chosen languages.
Definition at line 295 of file klocale_kde.cpp.
| void KLocalePrivate::insertCatalog | ( | const QString & | catalog | ) | [virtual] |
Adds another catalog to search for translation lookup. The worker of the same-name KLocale API function.
Definition at line 811 of file klocale_kde.cpp.
| QStringList KLocalePrivate::installedLanguages | ( | ) | [virtual] |
Returns a list of all installed KDE languages. The worker of the same-name KLocale API function.
Definition at line 2907 of file klocale_kde.cpp.
| bool KLocalePrivate::isApplicationTranslatedInto | ( | const QString & | language | ) | [virtual] |
Checks whether or not the active catalog is found for the given language. The worker of the same-name KLocale API function.
Definition at line 719 of file klocale_kde.cpp.
| QString KLocalePrivate::langLookup | ( | const QString & | fname, |
| const char * | rtype = "html" |
||
| ) | [static] |
Finds localized resource in resourceDir( rtype ) + <lang> + fname. The worker of the same-name KLocale API function.
Definition at line 2582 of file klocale_kde.cpp.
| QString KLocalePrivate::language | ( | ) | const [virtual] |
Returns the Locale Language The worker of the same-name KLocale API function.
Definition at line 779 of file klocale_kde.cpp.
| QString KLocalePrivate::languageCodeToName | ( | const QString & | language | ) | [virtual] |
Convert a known language code to a human readable, localized form. The worker of the same-name KLocale API function.
Definition at line 2919 of file klocale_kde.cpp.
| QStringList KLocalePrivate::languageList | ( | ) | const [virtual] |
Returns the language codes selected by user The worker of the same-name KLocale API function.
Definition at line 2487 of file klocale_kde.cpp.
| QString KLocalePrivate::localizedFilePath | ( | const QString & | filePath | ) | const [virtual] |
Tries to find a path to the localized file for the given original path. The worker of the same-name KLocale API function.
Definition at line 3065 of file klocale_kde.cpp.
| KLocale::MeasureSystem KLocalePrivate::measureSystem | ( | ) | const [virtual] |
Returns which measuring system we use. The worker of the same-name KLocale API function.
Definition at line 2835 of file klocale_kde.cpp.
| int KLocalePrivate::monetaryDecimalPlaces | ( | ) | const [virtual] |
Returns the number of monetary decimal places used by locale. The worker of the same-name KLocale API function.
Definition at line 1268 of file klocale_kde.cpp.
| QString KLocalePrivate::monetaryDecimalSymbol | ( | ) | const [virtual] |
Returns the monetary decimal symbol used by locale. The worker of the same-name KLocale API function.
Definition at line 1236 of file klocale_kde.cpp.
| QList< int > KLocalePrivate::monetaryDigitGrouping | ( | ) | const [virtual] |
Returns the digit grouping to apply to numbers For now internal only api designed for processing efficiency, if needed publicly then may need to review if this is the best way.
Definition at line 1246 of file klocale_kde.cpp.
| KLocale::DigitSet KLocalePrivate::monetaryDigitSet | ( | ) | const [virtual] |
Retuns the digit set used to display monetary values. The worker of the same-name KLocale API function.
Definition at line 3118 of file klocale_kde.cpp.
| QString KLocalePrivate::monetaryThousandsSeparator | ( | ) | const [virtual] |
Returns the monetary thousands separator used by locale. The worker of the same-name KLocale API function. KDE5 Rename to monetaryDigitGroupSeparator()
Definition at line 1241 of file klocale_kde.cpp.
| KLocale::SignPosition KLocalePrivate::negativeMonetarySignPosition | ( | ) | const [virtual] |
Returns where/how to print the negative sign. The worker of the same-name KLocale API function.
Definition at line 1288 of file klocale_kde.cpp.
| bool KLocalePrivate::negativePrefixCurrencySymbol | ( | ) | const [virtual] |
Returns if the currency symbol precedes negative numbers. The worker of the same-name KLocale API function.
Definition at line 1278 of file klocale_kde.cpp.
| QString KLocalePrivate::negativeSign | ( | ) | const [virtual] |
Returns the negative sign used by locale. The worker of the same-name KLocale API function.
Definition at line 1256 of file klocale_kde.cpp.
| bool KLocalePrivate::nounDeclension | ( | ) | const [virtual] |
Returns if nouns are declined in the locale language. The worker of the same-name KLocale API function.
Definition at line 1181 of file klocale_kde.cpp.
| QList< int > KLocalePrivate::numericDigitGrouping | ( | ) | const [virtual] |
Returns the digit grouping to apply to numbers For now internal only api designed for processing efficiency, if needed publicly then may need to review if this is the best way.
Definition at line 1226 of file klocale_kde.cpp.
| KLocalePrivate & KLocalePrivate::operator= | ( | const KLocalePrivate & | rhs | ) |
Assignment operator.
Definition at line 123 of file klocale_kde.cpp.
| int KLocalePrivate::pageSize | ( | ) | const [virtual] |
Returns the preferred page size for printing. The worker of the same-name KLocale API function.
Definition at line 2824 of file klocale_kde.cpp.
| KLocale::SignPosition KLocalePrivate::positiveMonetarySignPosition | ( | ) | const [virtual] |
Returns where/how to print the positive sign. The worker of the same-name KLocale API function.
Definition at line 1283 of file klocale_kde.cpp.
| bool KLocalePrivate::positivePrefixCurrencySymbol | ( | ) | const [virtual] |
Returns where to print the currency symbol for positive numbers. The worker of the same-name KLocale API function.
Definition at line 1273 of file klocale_kde.cpp.
| QString KLocalePrivate::positiveSign | ( | ) | const [virtual] |
Returns the positive sign used by locale. The worker of the same-name KLocale API function.
Definition at line 1251 of file klocale_kde.cpp.
| QString KLocalePrivate::prettyFormatDuration | ( | unsigned long | mSec | ) | const [virtual] |
Returns converted duration as a string. The worker of the same-name KLocale API function.
Definition at line 1809 of file klocale_kde.cpp.
| QDate KLocalePrivate::readDate | ( | const QString & | str, |
| bool * | ok = 0 |
||
| ) | [virtual] |
Converts a localized date string to a QDate. The worker of the same-name KLocale API function.
Definition at line 2086 of file klocale_kde.cpp.
| QDate KLocalePrivate::readDate | ( | const QString & | intstr, |
| const QString & | fmt, | ||
| bool * | ok = 0 |
||
| ) | [virtual] |
Converts a localized date string to a QDate, using the specified format. The worker of the same-name KLocale API function.
Definition at line 2096 of file klocale_kde.cpp.
| QDate KLocalePrivate::readDate | ( | const QString & | str, |
| KLocale::ReadDateFlags | flags, | ||
| bool * | ok = 0 |
||
| ) | [virtual] |
Converts a localized date string to a QDate. The worker of the same-name KLocale API function.
Definition at line 2091 of file klocale_kde.cpp.
| QTime KLocalePrivate::readLocaleTime | ( | const QString & | str, |
| bool * | ok = 0, |
||
| KLocale::TimeFormatOptions | options = KLocale::TimeDefault, |
||
| KLocale::TimeProcessingOptions | processing = KLocale::ProcessNonStrict |
||
| ) | const [virtual] |
Converts a localized time string to a QTime. The worker of the same-name KLocale API function.
Definition at line 2185 of file klocale_kde.cpp.
| double KLocalePrivate::readMoney | ( | const QString & | numStr, |
| bool * | ok = 0 |
||
| ) | const [virtual] |
Converts a localized monetary string to a double. The worker of the same-name KLocale API function.
Definition at line 1946 of file klocale_kde.cpp.
| double KLocalePrivate::readNumber | ( | const QString & | numStr, |
| bool * | ok = 0 |
||
| ) | const [virtual] |
Converts a localized numeric string to a double. The worker of the same-name KLocale API function.
Definition at line 1862 of file klocale_kde.cpp.
| QTime KLocalePrivate::readTime | ( | const QString & | str, |
| bool * | ok = 0 |
||
| ) | const [virtual] |
Converts a localized time string to a QTime. The worker of the same-name KLocale API function.
Definition at line 2101 of file klocale_kde.cpp.
| QTime KLocalePrivate::readTime | ( | const QString & | str, |
| KLocale::ReadTimeFlags | flags, | ||
| bool * | ok = 0 |
||
| ) | const [virtual] |
- Deprecated:
- replaced by readLocaleTime()
Converts a localized time string to a QTime. The worker of the same-name KLocale API function.
Definition at line 2110 of file klocale_kde.cpp.
| QString KLocalePrivate::removeAcceleratorMarker | ( | const QString & | label | ) | const [virtual] |
Removes accelerator marker from a UI text label. The worker of the same-name KLocale API function.
Definition at line 3098 of file klocale_kde.cpp.
| void KLocalePrivate::removeCatalog | ( | const QString & | catalog | ) | [virtual] |
Removes a catalog for translation lookup. The worker of the same-name KLocale API function.
Definition at line 860 of file klocale_kde.cpp.
| void KLocalePrivate::setActiveCatalog | ( | const QString & | catalog | ) | [virtual] |
Sets the active catalog for translation lookup.
- Parameters:
-
catalog The catalog to activate.
Definition at line 877 of file klocale_kde.cpp.
| void KLocalePrivate::setBinaryUnitDialect | ( | KLocale::BinaryUnitDialect | newDialect | ) | [virtual] |
Sets the default dialect for this locale The worker of the same-name KLocale API function.
Definition at line 1767 of file klocale_kde.cpp.
| void KLocalePrivate::setCalendar | ( | const QString & | calendarType | ) | [virtual] |
Sets the current calendar system to the calendar specified. The worker of the same-name KLocale API function.
Definition at line 3017 of file klocale_kde.cpp.
| void KLocalePrivate::setCalendarSystem | ( | KLocale::CalendarSystem | calendarSystem | ) | [virtual] |
Sets the current calendar system to the calendar specified. The worker of the same-name KLocale API function.
Definition at line 3022 of file klocale_kde.cpp.
| bool KLocalePrivate::setCountry | ( | const QString & | country, |
| KConfig * | config | ||
| ) | [virtual] |
Sets the Locale Country The worker of the same-name KLocale API function.
Definition at line 592 of file klocale_kde.cpp.
| bool KLocalePrivate::setCountryDivisionCode | ( | const QString & | countryDivision | ) |
Sets the Country Division Code The worker of the same-name KLocale API function.
Definition at line 628 of file klocale_kde.cpp.
| void KLocalePrivate::setCurrencyCode | ( | const QString & | newCurrencyCode | ) | [virtual] |
Sets the Locale Currency Code The worker of the same-name KLocale API function.
Definition at line 710 of file klocale_kde.cpp.
| void KLocalePrivate::setCurrencySymbol | ( | const QString & | symbol | ) | [virtual] |
Sets the current currency symbol. The worker of the same-name KLocale API function.
Definition at line 2819 of file klocale_kde.cpp.
| void KLocalePrivate::setDateFormat | ( | const QString & | format | ) | [virtual] |
Sets the current date format. The worker of the same-name KLocale API function.
Definition at line 2684 of file klocale_kde.cpp.
| void KLocalePrivate::setDateFormatShort | ( | const QString & | format | ) | [virtual] |
Sets the current short date format. The worker of the same-name KLocale API function.
Definition at line 2689 of file klocale_kde.cpp.
| void KLocalePrivate::setDateMonthNamePossessive | ( | bool | possessive | ) | [virtual] |
Sets of the possessive form of month name should be used in dates. The worker of the same-name KLocale API function.
Definition at line 2694 of file klocale_kde.cpp.
| void KLocalePrivate::setDateTimeDigitSet | ( | KLocale::DigitSet | digitSet | ) | [virtual] |
Set digit characters used to display dates and time. The worker of the same-name KLocale API function.
Definition at line 3123 of file klocale_kde.cpp.
| void KLocalePrivate::setDayPeriods | ( | const QList< KDayPeriod > & | dayPeriods | ) | [virtual] |
The worker of the same-name KLocale API function.
Definition at line 2442 of file klocale_kde.cpp.
| void KLocalePrivate::setDecimalPlaces | ( | int | digits | ) | [virtual] |
Sets the number of decimal places used when formating numbers. The worker of the same-name KLocale API function.
Definition at line 2747 of file klocale_kde.cpp.
| void KLocalePrivate::setDecimalSymbol | ( | const QString & | symbol | ) | [virtual] |
Sets the symbol used to identify the decimal pointer. The worker of the same-name KLocale API function.
Definition at line 2752 of file klocale_kde.cpp.
| void KLocalePrivate::setDigitSet | ( | KLocale::DigitSet | digitSet | ) | [virtual] |
Sets the set of digit characters used to display numbers. The worker of the same-name KLocale API function.
Definition at line 3103 of file klocale_kde.cpp.
| bool KLocalePrivate::setEncoding | ( | int | mibEnum | ) | [virtual] |
Sets the current encoding The worker of the same-name KLocale API function.
Definition at line 2889 of file klocale_kde.cpp.
| bool KLocalePrivate::setLanguage | ( | const QString & | language, |
| KConfig * | config | ||
| ) | [virtual] |
Sets the Locale Language The worker of the same-name KLocale API function.
Definition at line 634 of file klocale_kde.cpp.
| bool KLocalePrivate::setLanguage | ( | const QStringList & | languages | ) | [virtual] |
Sets the list of preferred languages for the locale. The worker of the same-name KLocale API function.
Definition at line 660 of file klocale_kde.cpp.
| void KLocalePrivate::setMainCatalog | ( | const char * | catalog | ) | [static] |
Set the main catalog for *all* KLocales The worker of the same-name KLocale API function.
Definition at line 1856 of file klocale_kde.cpp.
| void KLocalePrivate::setMeasureSystem | ( | KLocale::MeasureSystem | value | ) | [virtual] |
Sets the preferred measuring system. The worker of the same-name KLocale API function.
Definition at line 2840 of file klocale_kde.cpp.
| void KLocalePrivate::setMonetaryDecimalPlaces | ( | int | digits | ) | [virtual] |
Sets the number of decimal places used when formating money. The worker of the same-name KLocale API function.
Definition at line 2798 of file klocale_kde.cpp.
| void KLocalePrivate::setMonetaryDecimalSymbol | ( | const QString & | symbol | ) | [virtual] |
Sets the symbol used to identify the decimal pointer for monetary values. The worker of the same-name KLocale API function.
Definition at line 2814 of file klocale_kde.cpp.
| void KLocalePrivate::setMonetaryDigitGrouping | ( | QList< int > | groupList | ) | [virtual] |
Sets the digit grouping to apply to numbers For now internal only api designed for processing efficiency, if needed publicly then may need to review if this is the best way.
Definition at line 2809 of file klocale_kde.cpp.
| void KLocalePrivate::setMonetaryDigitSet | ( | KLocale::DigitSet | digitSet | ) | [virtual] |
Set digit characters used to display monetary values. The worker of the same-name KLocale API function.
Definition at line 3113 of file klocale_kde.cpp.
| void KLocalePrivate::setMonetaryThousandsSeparator | ( | const QString & | separator | ) | [virtual] |
Sets the separator used to group digits when formating monetary values. The worker of the same-name KLocale API function. KDE5 Rename to setMonetaryDigitGroupSeparator()
Definition at line 2803 of file klocale_kde.cpp.
| void KLocalePrivate::setNegativeMonetarySignPosition | ( | KLocale::SignPosition | signpos | ) | [virtual] |
Sets the sign position used for negative monetary values. The worker of the same-name KLocale API function.
Definition at line 2783 of file klocale_kde.cpp.
| void KLocalePrivate::setNegativePrefixCurrencySymbol | ( | bool | prefix | ) | [virtual] |
Sets the position where the currency symbol should be printed for negative monetary values. The worker of the same-name KLocale API function.
Definition at line 2793 of file klocale_kde.cpp.
| void KLocalePrivate::setNegativeSign | ( | const QString & | sign | ) | [virtual] |
Sets the sign used to identify a negative number. The worker of the same-name KLocale API function.
Definition at line 2773 of file klocale_kde.cpp.
| void KLocalePrivate::setNumericDigitGrouping | ( | QList< int > | groupList | ) | [virtual] |
Sets the digit grouping to apply to numbers For now internal only api designed for processing efficiency, if needed publicly then may need to review if this is the best way.
Definition at line 2763 of file klocale_kde.cpp.
| void KLocalePrivate::setPageSize | ( | int | paperFormat | ) | [virtual] |
Sets the preferred page size when printing. The worker of the same-name KLocale API function.
Definition at line 2829 of file klocale_kde.cpp.
| void KLocalePrivate::setPositiveMonetarySignPosition | ( | KLocale::SignPosition | signpos | ) | [virtual] |
Sets the sign position used for positive monetary values. The worker of the same-name KLocale API function.
Definition at line 2778 of file klocale_kde.cpp.
| void KLocalePrivate::setPositivePrefixCurrencySymbol | ( | bool | prefix | ) | [virtual] |
Sets the position where the currency symbol should be printed for positive monetary values. The worker of the same-name KLocale API function.
Definition at line 2788 of file klocale_kde.cpp.
| void KLocalePrivate::setPositiveSign | ( | const QString & | sign | ) | [virtual] |
Sets the sign used to identify a positive number. The worker of the same-name KLocale API function.
Definition at line 2768 of file klocale_kde.cpp.
| void KLocalePrivate::setThousandsSeparator | ( | const QString & | separator | ) | [virtual] |
Sets the separator used to group digits when formating numbers. The worker of the same-name KLocale API function. KDE5 Rename to setNumericDigitGroupSeparator()
Definition at line 2757 of file klocale_kde.cpp.
| void KLocalePrivate::setTimeFormat | ( | const QString & | format | ) | [virtual] |
Changes the current time format. The worker of the same-name KLocale API function.
Definition at line 2699 of file klocale_kde.cpp.
| void KLocalePrivate::setWeekDayOfPray | ( | int | day | ) | [virtual] |
Changes how KLocale defines the day reserved for religious observance. The worker of the same-name KLocale API function.
Definition at line 2725 of file klocale_kde.cpp.
| void KLocalePrivate::setWeekNumberSystem | ( | KLocale::WeekNumberSystem | weekNumberSystem | ) |
Sets the Week Number System to use The worker of the same-name KLocale API function.
Definition at line 3048 of file klocale_kde.cpp.
| void KLocalePrivate::setWeekStartDay | ( | int | day | ) | [virtual] |
Changes how KLocale defines the first day in week. The worker of the same-name KLocale API function.
Definition at line 2704 of file klocale_kde.cpp.
| void KLocalePrivate::setWorkingWeekEndDay | ( | int | day | ) | [virtual] |
Changes how KLocale defines the last working day in week. The worker of the same-name KLocale API function.
Definition at line 2718 of file klocale_kde.cpp.
| void KLocalePrivate::setWorkingWeekStartDay | ( | int | day | ) | [virtual] |
Changes how KLocale defines the first working day in week. The worker of the same-name KLocale API function.
Definition at line 2711 of file klocale_kde.cpp.
| void KLocalePrivate::splitLocale | ( | const QString & | locale, |
| QString & | language, | ||
| QString & | country, | ||
| QString & | modifier, | ||
| QString & | charset | ||
| ) | [static] |
Parses locale string into distinct parts. The worker of the same-name KLocale API function.
Definition at line 741 of file klocale_kde.cpp.
| QByteArray KLocalePrivate::systemCodeset | ( | ) | const [protected, virtual] |
Returns the system codeset.
Reimplemented in KLocaleWindowsPrivate, and KLocaleMacPrivate.
Definition at line 2642 of file klocale_kde.cpp.
| QString KLocalePrivate::systemCountry | ( | ) | const [protected, virtual] |
Returns the host system country ISO code If country could not be determined then may return an empty string or "C"
Reimplemented in KLocaleMacPrivate, and KLocaleWindowsPrivate.
Definition at line 392 of file klocale_kde.cpp.
| QStringList KLocalePrivate::systemLanguageList | ( | ) | const [protected, virtual] |
Returns the list of host system languages
Reimplemented in KLocaleWindowsPrivate.
Definition at line 446 of file klocale_kde.cpp.
| QString KLocalePrivate::thousandsSeparator | ( | ) | const [virtual] |
Returns the digit group separator used by locale. The worker of the same-name KLocale API function. KDE5 Rename to numericDigitGroupSeparator()
Definition at line 1221 of file klocale_kde.cpp.
| QString KLocalePrivate::timeFormat | ( | ) | const [virtual] |
Returns the currently selected time format. The worker of the same-name KLocale API function.
Definition at line 2742 of file klocale_kde.cpp.
| QString KLocalePrivate::toArabicDigits | ( | const QString & | str | ) | [static, protected] |
Converts a number string in any digit set into Arabic digits
Definition at line 1168 of file klocale_kde.cpp.
| QString KLocalePrivate::translateQt | ( | const char * | context, |
| const char * | sourceText, | ||
| const char * | comment | ||
| ) | const [virtual] |
Translates a message as a QTranslator is supposed to. The worker of the same-name KLocale API function.
Definition at line 972 of file klocale_kde.cpp.
| void KLocalePrivate::translateRawFrom | ( | const char * | catname, |
| const char * | msgctxt, | ||
| const char * | msgid, | ||
| const char * | msgid_plural = 0, |
||
| unsigned long | n = 0, |
||
| QString * | language = 0, |
||
| QString * | translation = 0 |
||
| ) | const [virtual] |
Function used by the translate versions The worker of the same-name KLocale API function.
Definition at line 889 of file klocale_kde.cpp.
| void KLocalePrivate::updateCatalogs | ( | ) | [protected, virtual] |
evaluate the list of catalogs and check that all instances for all languages are loaded and that they are sorted according to the catalog names
Callers must lock the mutex first.
Definition at line 826 of file klocale_kde.cpp.
| bool KLocalePrivate::use12Clock | ( | ) | const [virtual] |
Returns if the user wants 12h clock The worker of the same-name KLocale API function.
Definition at line 2432 of file klocale_kde.cpp.
| bool KLocalePrivate::useDefaultLanguage | ( | ) | const [protected, virtual] |
function used to determine if we are using the en_US translation
Definition at line 2611 of file klocale_kde.cpp.
| bool KLocalePrivate::useTranscript | ( | ) | const [virtual] |
Returns whether evaluation of translation scripts is enabled. The worker of the same-name KLocale API function.
Definition at line 2861 of file klocale_kde.cpp.
| int KLocalePrivate::weekDayOfPray | ( | ) | const [virtual] |
Returns which day is reserved for religious observance The worker of the same-name KLocale API function.
Definition at line 1206 of file klocale_kde.cpp.
| KLocale::WeekNumberSystem KLocalePrivate::weekNumberSystem | ( | ) |
Returns the Week Number System used The worker of the same-name KLocale API function.
Definition at line 3053 of file klocale_kde.cpp.
| int KLocalePrivate::weekStartDay | ( | ) | const [virtual] |
Returns which day is the first day of the week. The worker of the same-name KLocale API function.
Definition at line 1191 of file klocale_kde.cpp.
| int KLocalePrivate::workingWeekEndDay | ( | ) | const [virtual] |
Returns which day is the last working day of the week. The worker of the same-name KLocale API function.
Definition at line 1201 of file klocale_kde.cpp.
| int KLocalePrivate::workingWeekStartDay | ( | ) | const [virtual] |
Returns which day is the first working day of the week. The worker of the same-name KLocale API function.
Definition at line 1196 of file klocale_kde.cpp.
Member Data Documentation
Definition at line 1150 of file klocale_p.h.
The documentation for this class was generated from the following files:
KDE 4.7 API Reference