Fix the includes in CalendarSystem
This commit is contained in:
parent
df1290b1ec
commit
cc54b44fa2
@ -17,13 +17,14 @@
|
||||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
//own
|
||||
#include "calendarsystem.h"
|
||||
|
||||
#include "kdebug.h"
|
||||
#include "kconfiggroup.h"
|
||||
//KDE
|
||||
#include <KCalendarSystem>
|
||||
#include <KDateTime>
|
||||
#include <KGlobal>
|
||||
|
||||
//Qt
|
||||
#include <QtCore/QDateTime>
|
||||
|
||||
CalendarSystem::CalendarSystem(QObject* parent)
|
||||
|
@ -21,14 +21,13 @@
|
||||
#ifndef CALENDARSYSTEM_H
|
||||
#define CALENDARSYSTEM_H
|
||||
|
||||
//own
|
||||
#include "locale.h" // needed for enums
|
||||
#include "kglobal.h"
|
||||
|
||||
#include <QtCore/QStringList>
|
||||
//Qt
|
||||
#include <QtCore/QDate>
|
||||
|
||||
class KCalendarSystem;
|
||||
class KCalendarEra;
|
||||
|
||||
/**
|
||||
* CalendarSystem abstract base class, provides support for local Calendar Systems in KDE
|
||||
@ -49,7 +48,7 @@ Q_ENUMS(DateTimeComponent)
|
||||
Q_ENUMS(DateTimeComponentFormat)
|
||||
|
||||
//properties
|
||||
Q_PROPERTY(QList<int> calendarSystemsList READ calendarSystemsList)
|
||||
Q_PROPERTY(QList<int> calendarSystemsList READ calendarSystemsList) //read-only
|
||||
Q_PROPERTY(Locale::CalendarSystem calendarSystem READ calendarSystem NOTIFY calendarSystemChanged)//read-only
|
||||
Q_PROPERTY(QString calendarLabel READ calendarLabel NOTIFY calendarLabelChanged)//read-only
|
||||
Q_PROPERTY(QDate epoch READ epoch NOTIFY epochChanged)//read-only
|
||||
|
Loading…
Reference in New Issue
Block a user