summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Beltrame <lbeltrame@kde.org>2016-09-15 22:29:02 (GMT)
committerLuca Beltrame <lbeltrame@kde.org>2016-09-15 22:29:02 (GMT)
commit4e4263d1a92601018e46d7577903bc67e4224442 (patch)
treec84a8735e13b965c7ff9617e5c844abef9308eed
parentee6e0ae7f47cb1ce1e0bba4ea6bd1aa90f36120c (diff)
Yet more fixes for BIC
-rw-r--r--examples/apps/etm_usage/collectionmonitoredwidget.cpp4
-rw-r--r--examples/apps/etm_usage/collectionmonitoredwidget.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/apps/etm_usage/collectionmonitoredwidget.cpp b/examples/apps/etm_usage/collectionmonitoredwidget.cpp
index da61a1c..f4d0d9d 100644
--- a/examples/apps/etm_usage/collectionmonitoredwidget.cpp
+++ b/examples/apps/etm_usage/collectionmonitoredwidget.cpp
@@ -30,7 +30,7 @@
#include <AkonadiWidgets/EntityTreeView>
#include <AkonadiCore/EntityTreeModel>
-#include <AkonadiCore/ChangeRecorder>
+#include <AkonadiCore/Monitor>
#include <AkonadiCore/CollectionFetchScope>
CollectionMonitoredWidget::CollectionMonitoredWidget(QWidget *parent, Qt::WindowFlags f)
@@ -44,7 +44,7 @@ CollectionMonitoredWidget::CollectionMonitoredWidget(QWidget *parent, Qt::Window
m_etw->init();
connect(m_etw->view()->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), SLOT(selectionChanged(QItemSelection,QItemSelection)));
- m_oneCollectionChangeRecorder = new Akonadi::ChangeRecorder(this);
+ m_oneCollectionChangeRecorder = new Akonadi::Monitor(this);
Akonadi::EntityTreeModel *oneCollectionEtm = new Akonadi::EntityTreeModel(m_oneCollectionChangeRecorder, this);
diff --git a/examples/apps/etm_usage/collectionmonitoredwidget.h b/examples/apps/etm_usage/collectionmonitoredwidget.h
index 13df86e..7efd126 100644
--- a/examples/apps/etm_usage/collectionmonitoredwidget.h
+++ b/examples/apps/etm_usage/collectionmonitoredwidget.h
@@ -32,7 +32,7 @@ class EntityTreeWidget;
namespace Akonadi
{
-class ChangeRecorder;
+class Monitor;
class EntityTreeView;
}
@@ -47,7 +47,7 @@ private Q_SLOTS:
private:
EntityTreeWidget *m_etw;
- Akonadi::ChangeRecorder *m_oneCollectionChangeRecorder;
+ Akonadi::Monitor *m_oneCollectionChangeRecorder;
Akonadi::EntityTreeView *m_oneCollectionView;
};