Changeset View
Changeset View
Standalone View
Standalone View
src/lib/util/kformatprivate_p.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | 36 | public: | |||
---|---|---|---|---|---|
59 | QString formatSpelloutDuration(quint64 msecs) const; | 59 | QString formatSpelloutDuration(quint64 msecs) const; | ||
60 | 60 | | |||
61 | QString formatRelativeDate(const QDate &date, | 61 | QString formatRelativeDate(const QDate &date, | ||
62 | QLocale::FormatType format) const; | 62 | QLocale::FormatType format) const; | ||
63 | 63 | | |||
64 | QString formatRelativeDateTime(const QDateTime &dateTime, | 64 | QString formatRelativeDateTime(const QDateTime &dateTime, | ||
65 | QLocale::FormatType format) const; | 65 | QLocale::FormatType format) const; | ||
66 | 66 | | |||
67 | QString formatList(const QStringList &stringList, | ||||
68 | KFormat::ListFormatterType type) const; | ||||
67 | private: | 69 | private: | ||
68 | 70 | | |||
69 | QLocale m_locale; | 71 | QLocale m_locale; | ||
70 | }; | 72 | }; | ||
71 | 73 | | |||
72 | #endif // KFORMATPRIVATE_P_H | 74 | #endif // KFORMATPRIVATE_P_H |