Akonadi Contacts

personaleditorwidget.h
1/*
2 This file is part of Contact Editor.
3
4 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#pragma once
10
11#include <QWidget>
12class DateEditWidget;
13class KLineEdit;
14namespace KContacts
15{
16class Addressee;
17}
18
19namespace Akonadi
20{
21class PersonalEditorWidget : public QWidget
22{
24public:
25 explicit PersonalEditorWidget(QWidget *parent = nullptr);
26 ~PersonalEditorWidget() override;
27 void loadContact(const KContacts::Addressee &contact);
28 void storeContact(KContacts::Addressee &contact);
29 void setReadOnly(bool readOnly);
30
31private:
32 DateEditWidget *mBirthdateWidget = nullptr;
33 DateEditWidget *mAnniversaryWidget = nullptr;
34 KLineEdit *mPartnerWidget = nullptr;
35};
36}
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 Fri Jun 21 2024 12:03:02 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.