Pimcommon

addressesslineeditabstractplugin.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 "pimcommonakonadi_export.h"
10#include <QObject>
11
12namespace PimCommon
13{
14class AddresseeLineEdit;
15/**
16 * @brief The AddressessLineEditAbstractPluginInfo struct
17 * @author Laurent Montel <montel@kde.org>
18 */
19struct PIMCOMMONAKONADI_EXPORT AddressessLineEditAbstractPluginInfo {
20 QString name;
21 QString identifier;
22 QString description;
23};
24
25/**
26 * @brief The AddressessLineEditAbstractPlugin class
27 * @author Laurent Montel <montel@kde.org>
28 */
29class PIMCOMMONAKONADI_EXPORT AddressessLineEditAbstractPlugin : public QObject
30{
31 Q_OBJECT
32public:
33 explicit AddressessLineEditAbstractPlugin(QObject *parent = nullptr);
35
36 void setLineEdit(PimCommon::AddresseeLineEdit *linedit);
37
38 virtual QList<AddressessLineEditAbstractPluginInfo> names() const = 0;
39 virtual void start() = 0;
40 virtual void cancel() = 0;
41 virtual void stop() = 0;
42
43Q_SIGNALS:
44 void wasUpdated();
45
46private:
47 PimCommon::AddresseeLineEdit *mLinedit = nullptr;
48};
49}
The AddressessLineEditAbstractPlugin class.
void stop(Ekos::AlignState mode)
Q_SCRIPTABLE Q_NOREPLY void start()
folderdialogacltab.h
The AddressessLineEditAbstractPluginInfo struct.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.