Mailcommon

snippetcustomfileattachmentnamedialog.h
1 /*
2  SPDX-FileCopyrightText: 2019-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "mailcommon_private_export.h"
10 #include <QDialog>
11 
12 namespace MailCommon
13 {
14 class SnippetCustomFileAttachmentNameWidget;
15 class MAILCOMMON_TESTS_EXPORT SnippetCustomFileAttachmentNameDialog : public QDialog
16 {
17  Q_OBJECT
18 public:
19  explicit SnippetCustomFileAttachmentNameDialog(QWidget *parent = nullptr);
20  ~SnippetCustomFileAttachmentNameDialog() override;
21 
22  Q_REQUIRED_RESULT QString result() const;
23 
24  void setText(const QString &str);
25 
26 private:
27  void readConfig();
28  void writeConfig();
29  SnippetCustomFileAttachmentNameWidget *const mCustomWidget;
30 };
31 }
void readConfig()
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Sep 24 2022 03:58:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.