Akonadi Contacts

categorieseditabstractwidget.h
1 /*
2  This file is part of Contact Editor.
3 
4  SPDX-FileCopyrightText: 2017-2023 Laurent Montel <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #pragma once
10 
11 #include "contacteditor_export.h"
12 #include <QWidget>
13 
14 namespace KContacts
15 {
16 class Addressee;
17 }
18 
19 namespace ContactEditor
20 {
21 class CONTACTEDITOR_EXPORT CategoriesEditAbstractWidget : public QWidget
22 {
23  Q_OBJECT
24 public:
25  explicit CategoriesEditAbstractWidget(QWidget *parent = nullptr);
26  ~CategoriesEditAbstractWidget() override;
27 
28  virtual void loadContact(const KContacts::Addressee &contact);
29  virtual void storeContact(KContacts::Addressee &contact) const;
30 
31  virtual void setReadOnly(bool readOnly);
32 };
33 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:09:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.