-rw-r--r-- | microkde/kdecore/klocale.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/microkde/kdecore/klocale.h b/microkde/kdecore/klocale.h index 153b12a..949301a 100644 --- a/microkde/kdecore/klocale.h +++ b/microkde/kdecore/klocale.h | |||
@@ -44,24 +44,25 @@ class KLocale | |||
44 | enum IntDateFormat { Undefined=-1, Default=0, Format1=1, ISODate=2, Userdefined=3 }; | 44 | enum IntDateFormat { Undefined=-1, Default=0, Format1=1, ISODate=2, Userdefined=3 }; |
45 | 45 | ||
46 | QString formatDate(const QDate &pDate, bool shortFormat = false, IntDateFormat intIntDateFormat = Undefined) const; | 46 | QString formatDate(const QDate &pDate, bool shortFormat = false, IntDateFormat intIntDateFormat = Undefined) const; |
47 | QString formatTime(const QTime &pTime, bool includeSecs = false, IntDateFormat intIntDateFormat = Undefined) const; | 47 | QString formatTime(const QTime &pTime, bool includeSecs = false, IntDateFormat intIntDateFormat = Undefined) const; |
48 | QString formatDateTime(const QDateTime &pDateTime, IntDateFormat intIntDateFormat = Undefined) const; | 48 | QString formatDateTime(const QDateTime &pDateTime, IntDateFormat intIntDateFormat = Undefined) const; |
49 | QString formatDateTime(const QDateTime &pDateTime, | 49 | QString formatDateTime(const QDateTime &pDateTime, |
50 | bool shortFormat, | 50 | bool shortFormat, |
51 | bool includeSecs = false, IntDateFormat intIntDateFormat = Undefined) const; | 51 | bool includeSecs = false, IntDateFormat intIntDateFormat = Undefined) const; |
52 | 52 | ||
53 | QDate readDate(const QString &str, bool* ok = 0) const; | 53 | QDate readDate(const QString &str, bool* ok = 0) const; |
54 | QDate readDate( const QString &intstr, const QString &fmt, bool* ok = 0) const; | 54 | QDate readDate( const QString &intstr, const QString &fmt, bool* ok = 0) const; |
55 | QTime readTime(const QString &str, bool* ok = 0) const; | 55 | QTime readTime(const QString &str, bool* ok = 0) const; |
56 | QDateTime readDateTime(const QString &intstr, IntDateFormat intIntDateFormat, bool* ok) const; | ||
56 | 57 | ||
57 | bool use12Clock() const; | 58 | bool use12Clock() const; |
58 | bool weekStartsMonday() const; | 59 | bool weekStartsMonday() const; |
59 | int weekStartDay() const; | 60 | int weekStartDay() const; |
60 | 61 | ||
61 | QString weekDayName(int,bool=false) const; | 62 | QString weekDayName(int,bool=false) const; |
62 | QString monthName(int,bool=false) const; | 63 | QString monthName(int,bool=false) const; |
63 | 64 | ||
64 | QString country() const; | 65 | QString country() const; |
65 | 66 | ||
66 | QString dateFormat(IntDateFormat intIntDateFormat = Undefined) const; | 67 | QString dateFormat(IntDateFormat intIntDateFormat = Undefined) const; |
67 | QString dateFormatShort(IntDateFormat intIntDateFormat = Undefined) const; | 68 | QString dateFormatShort(IntDateFormat intIntDateFormat = Undefined) const; |