Mailcommon

snippetcustomfileattachmentnamedialog.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 "mailcommon_private_export.h"
10#include <QDialog>
11
12namespace MailCommon
13{
14class SnippetCustomFileAttachmentNameWidget;
15class MAILCOMMON_TESTS_EXPORT SnippetCustomFileAttachmentNameDialog : public QDialog
16{
17 Q_OBJECT
18public:
19 explicit SnippetCustomFileAttachmentNameDialog(QWidget *parent = nullptr);
20 ~SnippetCustomFileAttachmentNameDialog() override;
21
22 [[nodiscard]] QString result() const;
23
24 void setText(const QString &str);
25
26private:
27 MAILCOMMON_NO_EXPORT void readConfig();
28 MAILCOMMON_NO_EXPORT void writeConfig();
29 SnippetCustomFileAttachmentNameWidget *const mCustomWidget;
30};
31}
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.