Akonadi Contacts

freebusyeditwidget.h
1/*
2 This file is part of Contact Editor.
3
4 SPDX-FileCopyrightText: 2009 Tobias Koenig <tokoe@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#pragma once
10
11#include <QWidget>
12
13namespace KContacts
14{
15class Addressee;
16}
17
18class KUrlRequester;
19namespace Akonadi
20{
21class FreeBusyEditWidget : public QWidget
22{
24
25public:
26 explicit FreeBusyEditWidget(QWidget *parent = nullptr);
27 ~FreeBusyEditWidget() override;
28
29 void loadContact(const KContacts::Addressee &contact);
30 void storeContact(KContacts::Addressee &contact) const;
31
32 void setReadOnly(bool readOnly);
33
34private:
35 KUrlRequester *mURL = nullptr;
36};
37}
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 Sat Dec 21 2024 17:05:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.