Commit e9ddd7f5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use new pimcommonakonadi

parent 14138650
......@@ -49,6 +49,7 @@ target_link_libraries(korganizer
korganizerprivate
korganizer_interfaces
korganizer_core
KF5::PimCommonAkonadi
KF5::Crash
)
......
......@@ -51,8 +51,8 @@
#include <AkonadiWidgets/ETMViewStateSaver>
#include <Akonadi/Calendar/StandardCalendarActionManager>
#include <AkonadiCore/CollectionIdentificationAttribute>
#include <pimcommon/manageserversidesubscriptionjob.h>
#include "PimCommon/PimUtil"
#include <PimCommonAkonadi/ManageServerSideSubscriptionJob>
#include "PimCommonAkonadi/MailUtil"
#include <KActionCollection>
#include <KCheckableProxyModel>
......@@ -858,7 +858,7 @@ void AkonadiCollectionView::updateMenu()
mEnableAction->setEnabled(true);
}
bool isOnline;
mServerSideSubscription->setEnabled(PimCommon::Util::isImapFolder(collection, isOnline));
mServerSideSubscription->setEnabled(PimCommon::MailUtil::isImapFolder(collection, isOnline));
} else {
mServerSideSubscription->setEnabled(false);
}
......
......@@ -74,8 +74,8 @@
#include <akonadi/calendar/calendarsettings.h>
#include <Akonadi/Calendar/CalendarClipboard>
#include <PimCommon/CollectionAclPage>
#include <PimCommon/ImapAclAttribute>
#include <PimCommonAkonadi/CollectionAclPage>
#include <PimCommonAkonadi/ImapAclAttribute>
#include <AkonadiWidgets/CollectionPropertiesDialog>
#include <AkonadiWidgets/ControlGui>
......
......@@ -21,7 +21,7 @@
#define KORGANIZERPLUGININTERFACE_H
#include <QObject>
#include <pimcommon/plugininterface.h>
#include <PimCommonAkonadi/PluginInterface>
class KActionCollection;
class KOrganizerPluginInterface : public PimCommon::PluginInterface
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment