Mailcommon

snippetattachmentwidget.h
1/*
2 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
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 <QWidget>
11
12class QLineEdit;
13
14namespace MailCommon
15{
16class MAILCOMMON_TESTS_EXPORT SnippetAttachmentWidget : public QWidget
17{
18 Q_OBJECT
19public:
20 explicit SnippetAttachmentWidget(QWidget *parent = nullptr);
21 ~SnippetAttachmentWidget() override;
22 void setText(const QString &str);
23 [[nodiscard]] QString text() const;
24 void clear();
25
26Q_SIGNALS:
27 void wasChanged();
28
29private:
30 MAILCOMMON_NO_EXPORT void slotSelectAttachment();
31 QLineEdit *const mLineEdit;
32};
33}
KGuiItem clear()
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.