Pimcommon

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

KDE's Doxygen guidelines are available online.