Messagelib

templateparseremailaddressrequesterlineedit.h
1/*
2 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "templateparser_private_export.h"
10#include <TemplateParser/TemplateParserEmailAddressRequesterBase>
11class QLineEdit;
12namespace TemplateParser
13{
14class TEMPLATEPARSER_TESTS_EXPORT TemplateParserEmailAddressRequesterLineEdit : public TemplateParser::TemplateParserEmailAddressRequesterBase
15{
16 Q_OBJECT
17public:
18 explicit TemplateParserEmailAddressRequesterLineEdit(QWidget *parent = nullptr);
19 ~TemplateParserEmailAddressRequesterLineEdit() override;
20
21 [[nodiscard]] QString text() const override;
22 void setText(const QString &str) override;
23 void clear() override;
24
25private:
26 QLineEdit *const mLineEdit;
27};
28}
KGuiItem clear()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:05:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.