aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Beltrame <lbeltrame@kde.org>2016-09-15 14:24:50 (GMT)
committerLuca Beltrame <lbeltrame@kde.org>2016-09-15 14:24:50 (GMT)
commit3601f4175e43eeaacb23bc27777dbdeafd9e6f60 (patch)
treecee395ff8fb0074ebe1b2b9cc117b1f31b7374c1
parent8826846e2e5c46b39f398831ca362fdad71284c1 (diff)
Try to fix build after BIC change
-rw-r--r--src/calendarmodel.cpp6
-rw-r--r--src/calendarmodel_p.h5
2 files changed, 6 insertions, 5 deletions
diff --git a/src/calendarmodel.cpp b/src/calendarmodel.cpp
index 8fdee88..417eb28 100644
--- a/src/calendarmodel.cpp
+++ b/src/calendarmodel.cpp
@@ -21,7 +21,7 @@
#include "calendarmodel_p.h"
#include "utils_p.h"
-#include <changerecorder.h>
+#include <monitor.h>
#include <itemfetchscope.h>
#include <kcalcore/event.h>
#include <kcalcore/todo.h>
@@ -50,14 +50,14 @@ public:
QWeakPointer<CalendarModel> m_weakPointer;
};
-CalendarModel::CalendarModel(Akonadi::ChangeRecorder *monitor)
+CalendarModel::CalendarModel(Akonadi::Monitor *monitor)
: EntityTreeModel(monitor),
d(new Private())
{
monitor->itemFetchScope().fetchAllAttributes(true);
}
-CalendarModel::Ptr CalendarModel::create(ChangeRecorder *monitor)
+CalendarModel::Ptr CalendarModel::create(Monitor *monitor)
{
CalendarModel *model = new CalendarModel(monitor);
CalendarModel::Ptr modelPtr = CalendarModel::Ptr(model);
diff --git a/src/calendarmodel_p.h b/src/calendarmodel_p.h
index b4515cc..b5520cd 100644
--- a/src/calendarmodel_p.h
+++ b/src/calendarmodel_p.h
@@ -22,6 +22,7 @@
#define AKONADI_CALENDARMODEL_P_H
#include <entitytreemodel.h>
+#include <monitor.h>
#include <QSharedPointer>
#include <QWeakPointer>
@@ -54,7 +55,7 @@ public:
RecursRole
};
- static Akonadi::CalendarModel::Ptr create(Akonadi::ChangeRecorder *monitor);
+ static Akonadi::CalendarModel::Ptr create(Akonadi::Monitor *monitor);
~CalendarModel();
QWeakPointer<CalendarModel> weakPointer() const;
@@ -71,7 +72,7 @@ public:
EntityTreeModel::HeaderGroup headerSet) const Q_DECL_OVERRIDE;
private:
- explicit CalendarModel(Akonadi::ChangeRecorder *monitor);
+ explicit CalendarModel(Akonadi::Monitor *monitor);
class Private;
Private *const d;
};