Messagelib

composerattachmentinterface.h
1 /*
2  SPDX-FileCopyrightText: 2019-2021 Laurent Montel <[email protected]>
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 
12 namespace MessageComposer
13 {
14 /**
15  * @brief The ComposerAttachmentInterface class
16  * @author Laurent Montel <[email protected]>
17  */
18 class MESSAGECOMPOSER_EXPORT ComposerAttachmentInterface
19 {
20 public:
23 
24  Q_REQUIRED_RESULT QStringList fileNames() const;
25  void setFileNames(const QStringList &fileName);
26 
27  Q_REQUIRED_RESULT int count() const;
28  void setCount(int count);
29 
30  Q_REQUIRED_RESULT QStringList namesAndSize() const;
31  void setNamesAndSize(const QStringList &nameAndSize);
32 
33  Q_REQUIRED_RESULT QStringList names() const;
34  void setNames(const QStringList &name);
35 
36 private:
37  QStringList mFileNames;
38  QStringList mNamesAndSize;
39  QStringList mNames;
40  int mCount = 0;
41 };
42 }
const QLatin1String name
The ComposerAttachmentInterface class.
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-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:05:46 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.