From 336e88d4bd330e0d28861c7f702711f53996bfca Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 19 Jan 2016 14:47:11 +0100 Subject: ResourceNotification -> Notification --- common/genericresource.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common/genericresource.cpp') diff --git a/common/genericresource.cpp b/common/genericresource.cpp index e9a6012..c7f323a 100644 --- a/common/genericresource.cpp +++ b/common/genericresource.cpp @@ -7,6 +7,7 @@ #include "modifyentity_generated.h" #include "deleteentity_generated.h" #include "inspection_generated.h" +#include "notification_generated.h" #include "domainadaptor.h" #include "commands.h" #include "index.h" @@ -312,13 +313,13 @@ GenericResource::GenericResource(const QByteArray &resourceInstanceIdentifier, c QVariant expectedValue; s >> expectedValue; inspect(inspectionType, inspectionId, domainType, entityId, property, expectedValue).then([=]() { - Akonadi2::ResourceNotification n; + Akonadi2::Notification n; n.type = Akonadi2::Commands::NotificationType_Inspection; n.id = inspectionId; n.code = Akonadi2::Commands::NotificationCode_Success; emit notify(n); }, [=](int code, const QString &message) { - Akonadi2::ResourceNotification n; + Akonadi2::Notification n; n.type = Akonadi2::Commands::NotificationType_Inspection; n.message = message; n.id = inspectionId; -- cgit v1.2.3