Messagelib

composerattachmentinterface.h
1/*
2 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "messagecomposer_export.h"
10#include <QObject>
11
12namespace MessageComposer
13{
14/**
15 * @brief The ComposerAttachmentInterface class
16 * @author Laurent Montel <montel@kde.org>
17 */
18class MESSAGECOMPOSER_EXPORT ComposerAttachmentInterface
19{
20public:
23
24 [[nodiscard]] QStringList fileNames() const;
25 void setFileNames(const QStringList &fileName);
26
27 [[nodiscard]] int count() const;
28 void setCount(int count);
29
30 [[nodiscard]] QStringList namesAndSize() const;
31 void setNamesAndSize(const QStringList &nameAndSize);
32
33 [[nodiscard]] QStringList names() const;
34 void setNames(const QStringList &name);
35
36private:
37 QStringList mFileNames;
38 QStringList mNamesAndSize;
39 QStringList mNames;
40 int mCount = 0;
41};
42}
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 Mon Nov 4 2024 16:33:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.