Mailcommon

snippetselectattachmentdialog.h
1 /*
2  SPDX-FileCopyrightText: 2019-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 
7 #pragma once
8 
9 #include "mailcommon_private_export.h"
10 #include <QDialog>
11 namespace MailCommon
12 {
13 class SnippetSelectAttachmentWidget;
14 class MAILCOMMON_TESTS_EXPORT SnippetSelectAttachmentDialog : public QDialog
15 {
16  Q_OBJECT
17 public:
18  explicit SnippetSelectAttachmentDialog(QWidget *parent = nullptr);
19  ~SnippetSelectAttachmentDialog() override;
20 
21  void setAttachments(const QStringList &lst);
22  Q_REQUIRED_RESULT QStringList attachments() const;
23 
24 private:
25  void writeConfig();
26  void readConfig();
27  SnippetSelectAttachmentWidget *const mAttachmentWidget;
28 };
29 }
void readConfig()
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Oct 1 2022 04:00:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.