Akonadi Contacts

contact-editor/editor/generalinfoeditor/categorieseditwidget.h
1 /*
2  This file is part of Contact Editor.
3 
4  SPDX-FileCopyrightText: 2010 Tobias Koenig <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #pragma once
10 
11 #include <KContacts/Addressee>
12 
13 #include <editor/widgets/categorieseditabstractwidget.h>
14 
15 /**
16  * @short A widget for editing the categories of a contact.
17  */
18 class CategoriesEditWidget : public ContactEditor::CategoriesEditAbstractWidget
19 {
20  Q_OBJECT
21 
22 public:
23  explicit CategoriesEditWidget(QWidget *parent = nullptr);
24  ~CategoriesEditWidget() override;
25 
26  void loadContact(const KContacts::Addressee &contact) override;
27  void storeContact(KContacts::Addressee &contact) const override;
28 
29  void setReadOnly(bool readOnly) override;
30 };
Q_OBJECTQ_OBJECT
A widget for editing the categories of a contact.
QObject * parent() const const
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.