File indexing completed on 2024-11-24 04:39:31
0001 /* 0002 This file is part of Contact Editor. 0003 0004 SPDX-FileCopyrightText: 2018-2020 Laurent Montel <montel.org> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #pragma once 0010 0011 #include "akonadi_contact_widgets_private_export.h" 0012 #include <QWidget> 0013 class KLineEdit; 0014 namespace KContacts 0015 { 0016 class Addressee; 0017 } 0018 namespace Akonadi 0019 { 0020 class AKONADI_CONTACT_WIDGETS_TESTS_EXPORT BlogfeedWidget : public QWidget 0021 { 0022 Q_OBJECT 0023 public: 0024 explicit BlogfeedWidget(QWidget *parent = nullptr); 0025 ~BlogfeedWidget() override; 0026 void loadContact(const KContacts::Addressee &contact); 0027 void storeContact(KContacts::Addressee &contact) const; 0028 void setReadOnly(bool readOnly); 0029 0030 private: 0031 KLineEdit *mBlogFeed = nullptr; 0032 }; 0033 }