|
| KLocaleUnixPrivate (KLocale *q, const QString &catalog, KSharedConfig::Ptr config) |
|
| KLocaleUnixPrivate (KLocale *q, const QString &catalog, const QString &language, const QString &country, KConfig *config) |
|
| KLocaleUnixPrivate (const KLocaleUnixPrivate &rhs) |
|
virtual | ~KLocaleUnixPrivate () |
|
KLocaleUnixPrivate & | operator= (const KLocaleUnixPrivate &rhs) |
|
| 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 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) |
|
KLocale * | q |
|
enum | DurationType { DaysDurationType = 0,
HoursDurationType,
MinutesDurationType,
SecondsDurationType
} |
|
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 | 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 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) |
|
Definition at line 25 of file klocale_unix_p.h.