File indexing completed on 2024-11-10 04:40:20

0001 /*
0002  * SPDX-FileCopyrightText: 2018 Daniel Vrátil <dvratil@kde.org>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-or-later
0005  *
0006  */
0007 
0008 #include "inspectablenotificationcollector.h"
0009 
0010 #include <QTest>
0011 
0012 using namespace Akonadi;
0013 using namespace Akonadi::Server;
0014 
0015 InspectableNotificationCollector::InspectableNotificationCollector(AkonadiServer &akonadi, DataStore *store)
0016     : NotificationCollector(akonadi, store)
0017 {
0018 }
0019 
0020 void InspectableNotificationCollector::notify(Protocol::ChangeNotificationList &&ntfs)
0021 {
0022     Q_EMIT notifySignal(ntfs);
0023     NotificationCollector::notify(std::move(ntfs));
0024 }
0025 
0026 #include "moc_inspectablenotificationcollector.cpp"