Akonadi Contacts

categorieseditwidget.h
1/*
2 This file is part of Contact Editor.
3
4 SPDX-FileCopyrightText: 2010 Tobias Koenig <tokoe@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#pragma once
10
11#include <KContacts/Addressee>
12#include <KJob>
13#include <QWidget>
14namespace Akonadi
15{
16class TagWidget;
17
18/**
19 * @short A widget for editing the categories of a contact.
20 */
21
23{
25
26public:
27 explicit CategoriesEditWidget(QWidget *parent = nullptr);
28 ~CategoriesEditWidget() override;
29
30 void loadContact(const KContacts::Addressee &contact);
31 void storeContact(KContacts::Addressee &contact) const;
32
33 void setReadOnly(bool readOnly);
34
35private:
36 void onMissingTagCreated(KJob *);
37 Akonadi::TagWidget *const mTagWidget;
38};
39}
A widget for editing the categories of a contact.
A widget for editing the display name of a contact.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:20 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.