From 660ee77c9875ad71d4189e8643f679f574687528 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 10 Feb 2016 08:51:25 +0100 Subject: Renamed Resources to ResourceControl --- examples/maildirresource/maildirresource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/maildirresource/maildirresource.cpp b/examples/maildirresource/maildirresource.cpp index 6fd70a0..4648717 100644 --- a/examples/maildirresource/maildirresource.cpp +++ b/examples/maildirresource/maildirresource.cpp @@ -338,7 +338,7 @@ KAsync::Job MaildirResource::inspect(int inspectionType, const QByteArray auto synchronizationTransaction = synchronizationStore->createTransaction(Sink::Storage::ReadOnly); Trace() << "Inspecting " << inspectionType << domainType << entityId << property << expectedValue; if (domainType == ENTITY_TYPE_MAIL) { - if (inspectionType == Sink::Resources::Inspection::PropertyInspectionType) { + if (inspectionType == Sink::ResourceControl::Inspection::PropertyInspectionType) { if (property == "unread") { const auto remoteId = resolveLocalId(ENTITY_TYPE_MAIL, entityId, synchronizationTransaction); const auto flags = KPIM::Maildir::readEntryFlags(remoteId.split('/').last()); @@ -363,7 +363,7 @@ KAsync::Job MaildirResource::inspect(int inspectionType, const QByteArray return KAsync::null(); } } - if (inspectionType == Sink::Resources::Inspection::ExistenceInspectionType) { + if (inspectionType == Sink::ResourceControl::Inspection::ExistenceInspectionType) { const auto remoteId = resolveLocalId(ENTITY_TYPE_MAIL, entityId, synchronizationTransaction); if (QFileInfo(remoteId).exists() != expectedValue.toBool()) { return KAsync::error(1, "Wrong file existence: " + remoteId); -- cgit v1.2.3