File indexing completed on 2024-06-23 05:18:26
0001 /* 0002 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "composerattachmentinterface.h" 0008 using namespace MessageComposer; 0009 ComposerAttachmentInterface::ComposerAttachmentInterface() = default; 0010 0011 ComposerAttachmentInterface::~ComposerAttachmentInterface() = default; 0012 0013 QStringList ComposerAttachmentInterface::fileNames() const 0014 { 0015 return mFileNames; 0016 } 0017 0018 void ComposerAttachmentInterface::setFileNames(const QStringList &fileName) 0019 { 0020 mFileNames = fileName; 0021 } 0022 0023 int ComposerAttachmentInterface::count() const 0024 { 0025 return mCount; 0026 } 0027 0028 void ComposerAttachmentInterface::setCount(int count) 0029 { 0030 mCount = count; 0031 } 0032 0033 QStringList ComposerAttachmentInterface::namesAndSize() const 0034 { 0035 return mNamesAndSize; 0036 } 0037 0038 void ComposerAttachmentInterface::setNamesAndSize(const QStringList &nameAndSize) 0039 { 0040 mNamesAndSize = nameAndSize; 0041 } 0042 0043 QStringList ComposerAttachmentInterface::names() const 0044 { 0045 return mNames; 0046 } 0047 0048 void ComposerAttachmentInterface::setNames(const QStringList &name) 0049 { 0050 mNames = name; 0051 }