From cd7287325944571e9d53b00b48abdba4c9257474 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 19 Jan 2016 14:26:45 +0100 Subject: Moved all commands in to the Commands namespace --- common/genericresource.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/genericresource.cpp') diff --git a/common/genericresource.cpp b/common/genericresource.cpp index 40e3add..e9a6012 100644 --- a/common/genericresource.cpp +++ b/common/genericresource.cpp @@ -313,16 +313,16 @@ GenericResource::GenericResource(const QByteArray &resourceInstanceIdentifier, c s >> expectedValue; inspect(inspectionType, inspectionId, domainType, entityId, property, expectedValue).then([=]() { Akonadi2::ResourceNotification n; - n.type = Akonadi2::NotificationType_Inspection; + n.type = Akonadi2::Commands::NotificationType_Inspection; n.id = inspectionId; - n.code = Akonadi2::NotificationCode_Success; + n.code = Akonadi2::Commands::NotificationCode_Success; emit notify(n); }, [=](int code, const QString &message) { Akonadi2::ResourceNotification n; - n.type = Akonadi2::NotificationType_Inspection; + n.type = Akonadi2::Commands::NotificationType_Inspection; n.message = message; n.id = inspectionId; - n.code = Akonadi2::NotificationCode_Failure; + n.code = Akonadi2::Commands::NotificationCode_Failure; emit notify(n); }).exec(); return KAsync::null(); -- cgit v1.2.3