Messagelib

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

KDE's Doxygen guidelines are available online.