Akonadi Contacts

blogfeedwidget.h
1 /*
2  This file is part of Contact Editor.
3 
4  SPDX-FileCopyrightText: 2018-2020 Laurent Montel <montel.org>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #pragma once
10 
11 #include "contacteditor_private_export.h"
12 #include <QWidget>
13 class KLineEdit;
14 namespace KContacts
15 {
16 class Addressee;
17 }
18 namespace ContactEditor
19 {
20 class CONTACTEDITOR_TESTS_EXPORT BlogfeedWidget : public QWidget
21 {
22  Q_OBJECT
23 public:
24  explicit BlogfeedWidget(QWidget *parent = nullptr);
25  ~BlogfeedWidget() override;
26  void loadContact(const KContacts::Addressee &contact);
27  void storeContact(KContacts::Addressee &contact) const;
28  void setReadOnly(bool readOnly);
29 
30 private:
31  KLineEdit *mBlogFeed = nullptr;
32 };
33 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:09:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.