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.h>
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 };
31 
A widget for editing the categories of a contact.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Jun 18 2021 23:08:56 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.