KDECore
klocale.h
Go to the documentation of this file.
153 void translateRawFrom(const char* catname, const char* msg, QString *lang, QString *trans) const;
185 void translateRawFrom(const char *catname, const char *ctxt, const char *msg, QString *lang, QString *trans) const;
219 void translateRawFrom(const char *catname, const char *singular, const char *plural, unsigned long n,
257 void translateRawFrom(const char *catname, const char *ctxt, const char *singular, const char *plural,
285 ParensAround = 0,
289 BeforeQuantityMoney = 1,
293 AfterQuantityMoney = 2,
297 BeforeMoney = 3,
301 AfterMoney = 4
310 ArabicDigits,
324 ThaiDigits
623 DefaultBinaryUnits = -1,
635 UnitLastUnit = UnitYottaByte
657 DefaultBinaryDialect = -1,
661 LastBinaryDialect = MetricBinaryDialect
781 QDateCalendar = 1,
785 CopticCalendar = 5,
786 EthiopianCalendar = 6,
788 GregorianCalendar = 8,
789 HebrewCalendar = 9,
792 IslamicCivilCalendar = 12,
793 //IslamicUmAlQuraCalendar = 13, /**< Islamic Lunar Calendar, Um Al Qura varient used in Saudi Arabia */
794 IndianNationalCalendar = 14,
796 JalaliCalendar = 16,
799 JapaneseCalendar= 19,
801 JulianCalendar = 21,
802 MinguoCalendar= 22,
803 ThaiCalendar = 23
816 DefaultWeekNumber = -1,
817 IsoWeekNumber = 0,
818 FirstFullWeek = 1,
819 FirstPartialWeek = 2,
820 SimpleWeek = 3
832 UnicodeFormat
842 LiberalParsing
866 Year = 0x1,
867 YearName = 0x2,
868 Month = 0x4,
869 MonthName = 0x8,
870 Day = 0x10,
871 DayName = 0x20,
872 JulianDay = 0x40,
873 EraName = 0x80,
874 EraYear = 0x100,
875 YearInEra = 0x200,
876 DayOfYear = 0x400,
877 DayOfYearName = 0x800,
878 DayOfWeek = 0x1000,
879 DayOfWeekName = 0x2000,
880 Week = 0x4000,
881 WeekYear = 0x8000,
882 MonthsInYear = 0x10000,
883 WeeksInYear = 0x20000,
884 DaysInYear = 0x40000,
885 DaysInMonth = 0x80000,
886 DaysInWeek = 0x100000,
887 Hour = 0x200000,
888 Minute = 0x400000,
889 Second = 0x800000,
890 Millisecond = 0x1000000,
891 DayPeriod = 0x2000000,
892 DayPeriodHour = 0x4000000,
893 Timezone = 0x8000000,
894 TimezoneName = 0x10000000,
895 UnixTime = 0x20000000
909 DefaultComponentFormat = -1,
910 ShortNumber = 0,
913 NarrowName = 3,
915 LongName
925 FancyShortDate,
928 FancyLongDate,
933 IsoOrdinalDate
968 TimeZone = 0x01,
969 Seconds = 0x02
1009 QString formatTime(const QTime &pTime, bool includeSecs = false, bool isDuration = false) const;
1018 TimeDefault = 0x0,
1021 TimeWithoutAmPm = 0x2,
1079 QString dayPeriodText(const QTime &time, DateTimeComponentFormat format = DefaultComponentFormat) const;
1250 NormalFormat = 1,
1252 ShortFormat = 2,
1254 IsoFormat = 4,
1256 IsoWeekFormat = 8,
1258 IsoOrdinalFormat = 16
1298 WithSeconds = 0,
1299 WithoutSeconds = 1
1326 ProcessStrict = 0x1,
1782 Imperial
MeasureSystem
The Metric system will give you information in mm, while the Imperial system will give you informatio...
Definition: klocale.h:1780
QString removeAcceleratorMarker(const QString &label_)
Definition: common_helpers.cpp:52
BinarySizeUnits
These binary units are used in KDE by the formatByteSize() functions.
Definition: klocale.h:621
KCalendarSystem abstract base class, provides support for local Calendar Systems in KDE...
Definition: kcalendarsystem.h:40
Definition: kdatetimeformatter_p.h:34
Definition: kcurrencycode.h:45
Auto-choose a unit such that the result is in the range [0, 1000 or 1024)
Definition: klocale.h:623
void insertCatalog(const QString &catalog)
Inserts the catalog in the main locale object if it exists.
Definition: kglobal.cpp:159
A class representing a date and time with an associated time zone.
Definition: kdatetime.h:171
KLocale provides support for country specific stuff like the national language.
Definition: klocale.h:69
SignPosition
Various positions for where to place the positive or negative sign when they are related to a monetar...
Definition: klocale.h:281
Definition: kdayperiod_p.h:54
Definition: kdatetimeparser_p.h:34
Definition: klocale_p.h:34
static char readNumber(qint64 &value, QIODevice *file)
Definition: kmimetyperepository.cpp:368
Definition: kaboutdata.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.