Akonadi Contacts
10 #include "weblistwidget.h"
11 #include "webwidgetlister.h"
12 #include <KContacts/Addressee>
13 #include <KLocalizedString>
15 #include <QVBoxLayout>
17 using namespace ContactEditor;
19 WebListWidget::WebListWidget(
QWidget *parent)
21 , mWebWidgetLister(new ContactEditor::WebWidgetLister(this))
24 topLayout->setContentsMargins({});
25 topLayout->setSpacing(0);
28 label->setObjectName(QStringLiteral(
"weblistlabel"));
29 topLayout->addWidget(label);
31 mWebWidgetLister->setObjectName(QStringLiteral(
"webwidgetlister"));
32 topLayout->addWidget(mWebWidgetLister);
35 WebListWidget::~WebListWidget() =
default;
39 mWebWidgetLister->loadContact(contact);
44 mWebWidgetLister->storeContact(contact);
47 void WebListWidget::setReadOnly(
bool readOnly)
49 mWebWidgetLister->setReadOnly(readOnly);
QString i18n(const char *text, const TYPE &arg...)
QString label(StandardShortcut id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:09:05 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.