Messagelib

composerattachmentinterface.cpp
1 /*
2  SPDX-FileCopyrightText: 2019-2023 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include "composerattachmentinterface.h"
8 using namespace MessageComposer;
9 ComposerAttachmentInterface::ComposerAttachmentInterface() = default;
10 
11 ComposerAttachmentInterface::~ComposerAttachmentInterface() = default;
12 
13 QStringList ComposerAttachmentInterface::fileNames() const
14 {
15  return mFileNames;
16 }
17 
18 void ComposerAttachmentInterface::setFileNames(const QStringList &fileName)
19 {
20  mFileNames = fileName;
21 }
22 
23 int ComposerAttachmentInterface::count() const
24 {
25  return mCount;
26 }
27 
28 void ComposerAttachmentInterface::setCount(int count)
29 {
30  mCount = count;
31 }
32 
33 QStringList ComposerAttachmentInterface::namesAndSize() const
34 {
35  return mNamesAndSize;
36 }
37 
38 void ComposerAttachmentInterface::setNamesAndSize(const QStringList &nameAndSize)
39 {
40  mNamesAndSize = nameAndSize;
41 }
42 
43 QStringList ComposerAttachmentInterface::names() const
44 {
45  return mNames;
46 }
47 
48 void ComposerAttachmentInterface::setNames(const QStringList &name)
49 {
50  mNames = name;
51 }
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
QString name(StandardShortcut id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:08:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.