7#include "akonadiimapsettinginterface.h"
8#include <pimcommon/imapresourcesettings.h>
10using namespace KSieveCore;
12AkonadiImapSettingInterface::AkonadiImapSettingInterface(std::unique_ptr<OrgKdeAkonadiImapSettingsInterface> &interface)
13 : KSieveCore::AbstractAkonadiImapSettingInterface()
14 , mInterface(interface.release())
18AkonadiImapSettingInterface::~AkonadiImapSettingInterface() =
default;
20bool AkonadiImapSettingInterface::sieveSupport()
const
22 return mInterface->sieveSupport();
25bool AkonadiImapSettingInterface::sieveReuseConfig()
const
27 return mInterface->sieveReuseConfig();
30QString AkonadiImapSettingInterface::imapServer()
const
39QString AkonadiImapSettingInterface::userName()
const
41 return mInterface->userName();
44int AkonadiImapSettingInterface::sievePort()
const
46 return mInterface->sievePort();
49QString AkonadiImapSettingInterface::sieveCustomUsername()
const
51 return mInterface->sieveCustomUsername();
54QString AkonadiImapSettingInterface::sieveCustomAuthentification()
const
56 return mInterface->sieveCustomAuthentification();
59QString AkonadiImapSettingInterface::sieveVacationFilename()
const
61 return mInterface->sieveVacationFilename();
64QString AkonadiImapSettingInterface::safety()
const
66 return mInterface->safety();
69int AkonadiImapSettingInterface::alternateAuthentication()
const
71 return mInterface->alternateAuthentication();
74int AkonadiImapSettingInterface::authentication()
const
76 return mInterface->authentication();
79QString AkonadiImapSettingInterface::sieveAlternateUrl()
const
81 return mInterface->sieveAlternateUrl();
84int AkonadiImapSettingInterface::imapPort()
const
86 return mInterface->imapPort();
bool isValid() const const