KDECore
#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 | initFormat () |
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 } |
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) |
Detailed Description
Definition at line 34 of file klocale_p.h.
Member Enumeration Documentation
|
protected |
Enumerator | |
---|---|
DaysDurationType | |
HoursDurationType | |
MinutesDurationType | |
SecondsDurationType |
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.
|
virtual |
Destructor.
Definition at line 219 of file klocale_kde.cpp.
Member Function Documentation
|
virtual |
Returns a list of all known country codes. The worker of the same-name KLocale API function.
Definition at line 2935 of file klocale_kde.cpp.
|
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.
|
virtual |
Returns a list of all known language codes. The worker of the same-name KLocale API function.
Definition at line 2905 of file klocale_kde.cpp.
|
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.
|
virtual |
Returns a pointer to the calendar system object. The worker of the same-name KLocale API function.
Definition at line 3045 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 3040 of file klocale_kde.cpp.
|
protectedvirtual |
Converts a CalendarSystem into a CalendarType
Definition at line 2991 of file klocale_kde.cpp.
|
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 3035 of file klocale_kde.cpp.
|
protectedvirtual |
Converts a CalendarType into a CalendarSystem
Definition at line 2960 of file klocale_kde.cpp.
|
virtual |
Returns the user's preferred encoding. The worker of the same-name KLocale API function.
Definition at line 2890 of file klocale_kde.cpp.
|
protected |
Returns config object
Definition at line 129 of file klocale_kde.cpp.
|
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.
|
protectedvirtual |
Copies object members
Definition at line 138 of file klocale_kde.cpp.
|
virtual |
Copies the catalogs of this object to an other KLocale object. The worker of the same-name KLocale API function.
Definition at line 3064 of file klocale_kde.cpp.
|
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.
Convert a known country code to a human readable, localized form. The worker of the same-name KLocale API function.
Definition at line 2948 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.
|
virtual |
Returns the Locale Currency object The worker of the same-name KLocale API function.
Definition at line 798 of file klocale_kde.cpp.
|
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.
|
virtual |
Returns the ISO Currency Codes used in the locale The worker of the same-name KLocale API function.
Definition at line 2498 of file klocale_kde.cpp.
|
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.
|
virtual |
Returns the currently selected date format. The worker of the same-name KLocale API function.
Definition at line 2738 of file klocale_kde.cpp.
|
virtual |
Returns the currently selected short date format. The worker of the same-name KLocale API function.
Definition at line 2743 of file klocale_kde.cpp.
|
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.
|
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 3134 of file klocale_kde.cpp.
|
virtual |
The worker of the same-name KLocale API function.
Definition at line 2481 of file klocale_kde.cpp.
|
virtual |
The worker of the same-name KLocale API function.
Definition at line 2460 of file klocale_kde.cpp.
|
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.
|
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.
|
staticprotected |
QFile filename decoding function (QFile::decodeFn).
Definition at line 2685 of file klocale_kde.cpp.
|
static |
Returns the name of the default country. The worker of the same-name KLocale API function.
Definition at line 2857 of file klocale_kde.cpp.
|
static |
Returns the ISO Code of the default currency. The worker of the same-name KLocale API function.
Definition at line 2862 of file klocale_kde.cpp.
|
static |
Returns the name of the internal language. The worker of the same-name KLocale API function.
Definition at line 2851 of file klocale_kde.cpp.
|
protected |
- Returns
- list of translated binary unit for
dialect
.
Definition at line 1619 of file klocale_kde.cpp.
|
virtual |
Returns the identifier of the digit set used to display numbers. The worker of the same-name KLocale API function.
Definition at line 3114 of file klocale_kde.cpp.
|
staticprotected |
Returns the digits for a digit set as a string, e.g. "0123456789"
Definition at line 1054 of file klocale_kde.cpp.
|
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.
|
staticprotected |
A QFile filename encoding function (QFile::encodeFn).
Definition at line 2680 of file klocale_kde.cpp.
|
virtual |
Returns the user's preferred encoding. The worker of the same-name KLocale API function.
Reimplemented in KLocaleWindowsPrivate.
Definition at line 2872 of file klocale_kde.cpp.
|
virtual |
Returns the user's preferred encoding. The worker of the same-name KLocale API function.
Definition at line 2877 of file klocale_kde.cpp.
|
virtual |
Returns the file encoding. The worker of the same-name KLocale API function.
Definition at line 2882 of file klocale_kde.cpp.
Returns converted size as a string The worker of the same-name KLocale API function.
Definition at line 1757 of file klocale_kde.cpp.
|
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.
|
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.
|
static |
Formats a date/time according to specified format. The worker of the same-name KLocale API function.
Definition at line 2503 of file klocale_kde.cpp.
|
virtual |
Return the date and time as a string The worker of the same-name KLocale API function.
Definition at line 2546 of file klocale_kde.cpp.
|
virtual |
Return the date and time as a string The worker of the same-name KLocale API function.
Definition at line 2554 of file klocale_kde.cpp.
|
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.
|
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 2340 of file klocale_kde.cpp.
|
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.
|
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.
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.
|
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.
|
staticprotected |
Formats a duration according to the given type and number
Definition at line 1794 of file klocale_kde.cpp.
|
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 2328 of file klocale_kde.cpp.
|
staticprotected |
Converts a language variable in a list of languages
Definition at line 328 of file klocale_kde.cpp.
|
protectedvirtual |
Main init function, needs to be called by appropriate child constructor.
Definition at line 228 of file klocale_kde.cpp.
|
protectedvirtual |
Init config.
Definition at line 270 of file klocale_kde.cpp.
|
protectedvirtual |
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.
|
protectedvirtual |
Initialises the Currency
Definition at line 698 of file klocale_kde.cpp.
|
protectedvirtual |
initialises the Day Periods
Definition at line 567 of file klocale_kde.cpp.
|
protectedvirtual |
Figures out which encoding the user prefers.
Definition at line 2622 of file klocale_kde.cpp.
|
protectedvirtual |
Figures out which encoding the user prefers for filenames and sets up the appropriate QFile encoding and decoding functions.
Definition at line 2667 of file klocale_kde.cpp.
|
virtual |
Reads the format configuration from disk.
Definition at line 451 of file klocale_kde.cpp.
|
protectedvirtual |
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.
|
protectedvirtual |
Initializes the catalogs appname, kdelibs and kio for all chosen languages.
Definition at line 295 of file klocale_kde.cpp.
|
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.
|
virtual |
Returns a list of all installed KDE languages. The worker of the same-name KLocale API function.
Definition at line 2913 of file klocale_kde.cpp.
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.
Finds localized resource in resourceDir( rtype ) + <lang> + fname. The worker of the same-name KLocale API function.
Definition at line 2588 of file klocale_kde.cpp.
|
virtual |
Returns the Locale Language The worker of the same-name KLocale API function.
Definition at line 779 of file klocale_kde.cpp.
Convert a known language code to a human readable, localized form. The worker of the same-name KLocale API function.
Definition at line 2925 of file klocale_kde.cpp.
|
virtual |
Returns the language codes selected by user The worker of the same-name KLocale API function.
Definition at line 2493 of file klocale_kde.cpp.
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 3071 of file klocale_kde.cpp.
|
virtual |
Returns which measuring system we use. The worker of the same-name KLocale API function.
Definition at line 2841 of file klocale_kde.cpp.
|
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.
|
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.
|
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.
|
virtual |
Retuns the digit set used to display monetary values. The worker of the same-name KLocale API function.
Definition at line 3124 of file klocale_kde.cpp.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
virtual |
Returns the preferred page size for printing. The worker of the same-name KLocale API function.
Definition at line 2830 of file klocale_kde.cpp.
|
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.
|
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.
|
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.
|
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.
Converts a localized date string to a QDate. The worker of the same-name KLocale API function.
Definition at line 2092 of file klocale_kde.cpp.
|
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 2102 of file klocale_kde.cpp.
|
virtual |
Converts a localized date string to a QDate. The worker of the same-name KLocale API function.
Definition at line 2097 of file klocale_kde.cpp.
|
virtual |
Converts a localized time string to a QTime. The worker of the same-name KLocale API function.
Definition at line 2191 of file klocale_kde.cpp.
Converts a localized monetary string to a double. The worker of the same-name KLocale API function.
Definition at line 1949 of file klocale_kde.cpp.
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.
Converts a localized time string to a QTime. The worker of the same-name KLocale API function.
Definition at line 2107 of file klocale_kde.cpp.
|
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 2116 of file klocale_kde.cpp.
Removes accelerator marker from a UI text label. The worker of the same-name KLocale API function.
Definition at line 3104 of file klocale_kde.cpp.
|
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.
|
virtual |
Sets the active catalog for translation lookup.
- Parameters
-
catalog The catalog to activate.
Definition at line 877 of file klocale_kde.cpp.
|
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.
|
virtual |
Sets the current calendar system to the calendar specified. The worker of the same-name KLocale API function.
Definition at line 3023 of file klocale_kde.cpp.
|
virtual |
Sets the current calendar system to the calendar specified. The worker of the same-name KLocale API function.
Definition at line 3028 of file klocale_kde.cpp.
Sets the Locale Country The worker of the same-name KLocale API function.
Definition at line 592 of file klocale_kde.cpp.
Sets the Country Division Code The worker of the same-name KLocale API function.
Definition at line 628 of file klocale_kde.cpp.
|
virtual |
Sets the Locale Currency Code The worker of the same-name KLocale API function.
Definition at line 710 of file klocale_kde.cpp.
|
virtual |
Sets the current currency symbol. The worker of the same-name KLocale API function.
Definition at line 2825 of file klocale_kde.cpp.
|
virtual |
Sets the current date format. The worker of the same-name KLocale API function.
Definition at line 2690 of file klocale_kde.cpp.
|
virtual |
Sets the current short date format. The worker of the same-name KLocale API function.
Definition at line 2695 of file klocale_kde.cpp.
|
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 2700 of file klocale_kde.cpp.
|
virtual |
Set digit characters used to display dates and time. The worker of the same-name KLocale API function.
Definition at line 3129 of file klocale_kde.cpp.
|
virtual |
The worker of the same-name KLocale API function.
Definition at line 2448 of file klocale_kde.cpp.
|
virtual |
Sets the number of decimal places used when formating numbers. The worker of the same-name KLocale API function.
Definition at line 2753 of file klocale_kde.cpp.
|
virtual |
Sets the symbol used to identify the decimal pointer. The worker of the same-name KLocale API function.
Definition at line 2758 of file klocale_kde.cpp.
|
virtual |
Sets the set of digit characters used to display numbers. The worker of the same-name KLocale API function.
Definition at line 3109 of file klocale_kde.cpp.
|
virtual |
Sets the current encoding The worker of the same-name KLocale API function.
Definition at line 2895 of file klocale_kde.cpp.
Sets the Locale Language The worker of the same-name KLocale API function.
Definition at line 634 of file klocale_kde.cpp.
|
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.
|
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.
|
virtual |
Sets the preferred measuring system. The worker of the same-name KLocale API function.
Definition at line 2846 of file klocale_kde.cpp.
|
virtual |
Sets the number of decimal places used when formating money. The worker of the same-name KLocale API function.
Definition at line 2804 of file klocale_kde.cpp.
|
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 2820 of file klocale_kde.cpp.
|
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 2815 of file klocale_kde.cpp.
|
virtual |
Set digit characters used to display monetary values. The worker of the same-name KLocale API function.
Definition at line 3119 of file klocale_kde.cpp.
|
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 2809 of file klocale_kde.cpp.
|
virtual |
Sets the sign position used for negative monetary values. The worker of the same-name KLocale API function.
Definition at line 2789 of file klocale_kde.cpp.
|
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 2799 of file klocale_kde.cpp.
|
virtual |
Sets the sign used to identify a negative number. The worker of the same-name KLocale API function.
Definition at line 2779 of file klocale_kde.cpp.
|
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 2769 of file klocale_kde.cpp.
|
virtual |
Sets the preferred page size when printing. The worker of the same-name KLocale API function.
Definition at line 2835 of file klocale_kde.cpp.
|
virtual |
Sets the sign position used for positive monetary values. The worker of the same-name KLocale API function.
Definition at line 2784 of file klocale_kde.cpp.
|
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 2794 of file klocale_kde.cpp.
|
virtual |
Sets the sign used to identify a positive number. The worker of the same-name KLocale API function.
Definition at line 2774 of file klocale_kde.cpp.
|
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 2763 of file klocale_kde.cpp.
|
virtual |
Changes the current time format. The worker of the same-name KLocale API function.
Definition at line 2705 of file klocale_kde.cpp.
|
virtual |
Changes how KLocale defines the day reserved for religious observance. The worker of the same-name KLocale API function.
Definition at line 2731 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 3054 of file klocale_kde.cpp.
|
virtual |
Changes how KLocale defines the first day in week. The worker of the same-name KLocale API function.
Definition at line 2710 of file klocale_kde.cpp.
|
virtual |
Changes how KLocale defines the last working day in week. The worker of the same-name KLocale API function.
Definition at line 2724 of file klocale_kde.cpp.
|
virtual |
Changes how KLocale defines the first working day in week. The worker of the same-name KLocale API function.
Definition at line 2717 of file klocale_kde.cpp.
|
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.
|
protectedvirtual |
Returns the system codeset.
Reimplemented in KLocaleWindowsPrivate, and KLocaleMacPrivate.
Definition at line 2648 of file klocale_kde.cpp.
|
protectedvirtual |
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.
|
protectedvirtual |
Returns the list of host system languages
Reimplemented in KLocaleWindowsPrivate.
Definition at line 446 of file klocale_kde.cpp.
|
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.
|
virtual |
Returns the currently selected time format. The worker of the same-name KLocale API function.
Definition at line 2748 of file klocale_kde.cpp.
Converts a number string in any digit set into Arabic digits
Definition at line 1168 of file klocale_kde.cpp.
|
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.
|
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.
|
protectedvirtual |
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.
|
virtual |
Returns if the user wants 12h clock The worker of the same-name KLocale API function.
Definition at line 2438 of file klocale_kde.cpp.
|
protectedvirtual |
function used to determine if we are using the en_US translation
Definition at line 2617 of file klocale_kde.cpp.
|
virtual |
Returns whether evaluation of translation scripts is enabled. The worker of the same-name KLocale API function.
Definition at line 2867 of file klocale_kde.cpp.
|
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 3059 of file klocale_kde.cpp.
|
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.
|
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.
|
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
KLocale* KLocalePrivate::q |
Definition at line 1150 of file klocale_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Sun May 4 2014 08:33:02 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.