Akonadi Contacts

phonelistwidget.h
1 /*
2  This file is part of Contact Editor.
3 
4  SPDX-FileCopyrightText: 2016 eyeOS S.L.U., a Telefonica company, [email protected]
5  SPDX-FileCopyrightText: 2016-2020 Laurent Montel <montel.org>
6 
7  SPDX-License-Identifier: LGPL-2.0-or-later
8 */
9 
10 #pragma once
11 
12 #include "contacteditor_private_export.h"
13 #include <QWidget>
14 namespace KContacts
15 {
16 class Addressee;
17 }
18 namespace ContactEditor
19 {
20 class PhoneWidgetLister;
21 class CONTACTEDITOR_TESTS_EXPORT PhoneListWidget : public QWidget
22 {
23  Q_OBJECT
24 public:
25  explicit PhoneListWidget(QWidget *parent = nullptr);
26  ~PhoneListWidget();
27  void loadContact(const KContacts::Addressee &contact);
28  void storeContact(KContacts::Addressee &contact) const;
29  void setReadOnly(bool readOnly);
30 
31 private:
32  ContactEditor::PhoneWidgetLister *mPhoneWidgetLister = nullptr;
33 };
34 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jun 22 2021 23:08:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.