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,
302 };
349 };
623 DefaultBinaryUnits = -1,
636 };
657 DefaultBinaryDialect = -1,
662 };
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,
804 };
816 DefaultWeekNumber = -1,
817 IsoWeekNumber = 0,
818 FirstFullWeek = 1,
819 FirstPartialWeek = 2,
821 };
833 };
851 };
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,
896 };
909 DefaultComponentFormat = -1,
910 ShortNumber = 0,
913 NarrowName = 3,
916 };
934 };
968 TimeZone = 0x01,
970 };
1009 QString formatTime(const QTime &pTime, bool includeSecs = false, bool isDuration = false) const;
1020 TimeWithoutSeconds = 0x1,
1035 };
1079 QString dayPeriodText(const QTime &time, DateTimeComponentFormat format = DefaultComponentFormat) const;
1260 };
1298 WithSeconds = 0,
1332 };
1783 };
KCalendarSystem abstract base class, provides support for local Calendar Systems in KDE.
Definition: kcalendarsystem.h:41
Definition: kcurrencycode.h:46
Definition: kdatetimeformatter_p.h:35
A class representing a date and time with an associated time zone.
Definition: kdatetime.h:172
Definition: kdayperiod_p.h:55
Definition: klocale_p.h:35
KLocale provides support for country specific stuff like the national language.
Definition: klocale.h:70
BinarySizeUnits
These binary units are used in KDE by the formatByteSize() functions.
Definition: klocale.h:621
@ DefaultBinaryUnits
Auto-choose a unit such that the result is in the range [0, 1000 or 1024)
Definition: klocale.h:623
SignPosition
Various positions for where to place the positive or negative sign when they are related to a monetar...
Definition: klocale.h:281
@ TimeDefault
Default formatting using seconds and the format as specified by the locale.
Definition: klocale.h:1018
MeasureSystem
The Metric system will give you information in mm, while the Imperial system will give you informatio...
Definition: klocale.h:1780
Definition: kaboutdata.h:33
QString removeAcceleratorMarker(const QString &label_)
Definition: common_helpers.cpp:52
static char readNumber(qint64 &value, QIODevice *file)
Definition: kmimetyperepository.cpp:368
Definition: kdatetimeparser_p.h:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.