Mailcommon

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

KDE's Doxygen guidelines are available online.