Add CalendarSystem's ctor
This commit is contained in:
parent
461ad73f58
commit
7877980f2e
@ -26,6 +26,13 @@
|
|||||||
|
|
||||||
#include <QtCore/QDateTime>
|
#include <QtCore/QDateTime>
|
||||||
|
|
||||||
|
CalendarSystem::CalendarSystem(QObject* parent)
|
||||||
|
: QObject(parent)
|
||||||
|
{
|
||||||
|
m_calendarSystem = KCalendarSystem::create(KLocale::CalendarSystem, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
QList<Locale::CalendarSystem> CalendarSystem::calendarSystemsList()
|
QList<Locale::CalendarSystem> CalendarSystem::calendarSystemsList()
|
||||||
{
|
{
|
||||||
QList<Locale::CalendarSystem> list;
|
QList<Locale::CalendarSystem> list;
|
||||||
|
@ -46,6 +46,9 @@ Q_ENUMS(WeekDayNameFormat)
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
//ctor
|
||||||
|
CalendarSystem(QObject *parent = 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Format for returned year number / month number / day number as string.
|
* Format for returned year number / month number / day number as string.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user