File indexing completed on 2024-11-24 04:49:52

0001 /*
0002    SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "akonadiimapsettinginterfacetest.h"
0008 
0009 AkonadiImapSettingInterfaceTest::AkonadiImapSettingInterfaceTest(const AkonadiImapSettingInterfaceDataTest &data)
0010     : KSieveCore::AbstractAkonadiImapSettingInterface()
0011     , mData(data)
0012 {
0013 }
0014 
0015 AkonadiImapSettingInterfaceTest::~AkonadiImapSettingInterfaceTest() = default;
0016 
0017 bool AkonadiImapSettingInterfaceTest::sieveSupport() const
0018 {
0019     return mData.sieveSupport;
0020 }
0021 
0022 bool AkonadiImapSettingInterfaceTest::sieveReuseConfig() const
0023 {
0024     return mData.sieveReuseConfig;
0025 }
0026 
0027 QString AkonadiImapSettingInterfaceTest::imapServer() const
0028 {
0029     return mData.imapServer;
0030 }
0031 
0032 QString AkonadiImapSettingInterfaceTest::userName() const
0033 {
0034     return mData.userName;
0035 }
0036 
0037 int AkonadiImapSettingInterfaceTest::sievePort() const
0038 {
0039     return mData.sievePort;
0040 }
0041 
0042 QString AkonadiImapSettingInterfaceTest::sieveCustomUsername() const
0043 {
0044     return mData.sieveCustomUsername;
0045 }
0046 
0047 QString AkonadiImapSettingInterfaceTest::sieveCustomAuthentification() const
0048 {
0049     return mData.sieveCustomAuthentification;
0050 }
0051 
0052 QString AkonadiImapSettingInterfaceTest::sieveVacationFilename() const
0053 {
0054     return mData.sieveVacationFilename;
0055 }
0056 
0057 QString AkonadiImapSettingInterfaceTest::safety() const
0058 {
0059     return mData.safety;
0060 }
0061 
0062 int AkonadiImapSettingInterfaceTest::authentication() const
0063 {
0064     return mData.authentication;
0065 }
0066 
0067 QString AkonadiImapSettingInterfaceTest::sieveAlternateUrl() const
0068 {
0069     return mData.sieveAlternateUrl;
0070 }
0071 
0072 int AkonadiImapSettingInterfaceTest::alternateAuthentication() const
0073 {
0074     return mData.alternateAuthentication;
0075 }
0076 
0077 int AkonadiImapSettingInterfaceTest::imapPort() const
0078 {
0079     return mData.imapPort;
0080 }