Messagelib

templateparseremailaddressrequesterinterfacewidget.h
1 /*
2  SPDX-FileCopyrightText: 2017-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "templateparser_private_export.h"
10 #include <QWidget>
11 namespace TemplateParser
12 {
13 class TemplateParserEmailAddressRequesterBase;
14 class TEMPLATEPARSER_TESTS_EXPORT TemplateParserEmailAddressRequesterInterfaceWidget : public QWidget
15 {
16  Q_OBJECT
17 public:
18  explicit TemplateParserEmailAddressRequesterInterfaceWidget(QWidget *parent = nullptr);
19  ~TemplateParserEmailAddressRequesterInterfaceWidget() override = default;
20 
21  Q_REQUIRED_RESULT QString text() const;
22  void setText(const QString &str);
23  void clear();
24 
25 Q_SIGNALS:
26  void textChanged();
27 
28 private:
29  void initializeEmailWidget();
30  TemplateParser::TemplateParserEmailAddressRequesterBase *mTemplateParserEmailBase = nullptr;
31 };
32 }
QAction * clear(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed May 25 2022 03:55:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.