Akonadi Contacts

contact-editor/editor/generalinfoeditor/categorieseditwidget.cpp
1 /*
2  This file is part of Contact Editor.
3 
4  SPDX-FileCopyrightText: 2009 Tobias Koenig <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #include "categorieseditwidget.h"
10 
11 #include <QHBoxLayout>
12 
13 CategoriesEditWidget::CategoriesEditWidget(QWidget *parent)
14  : ContactEditor::CategoriesEditAbstractWidget(parent)
15 {
16  auto layout = new QHBoxLayout(this);
17  layout->setContentsMargins(0, 0, 0, 0);
18 }
19 
20 CategoriesEditWidget::~CategoriesEditWidget()
21 {
22 }
23 
24 void CategoriesEditWidget::setReadOnly(bool readOnly)
25 {
26  Q_UNUSED(readOnly)
27 }
28 
29 void CategoriesEditWidget::loadContact(const KContacts::Addressee &contact)
30 {
31  Q_UNUSED(contact)
32 }
33 
34 void CategoriesEditWidget::storeContact(KContacts::Addressee &contact) const
35 {
36  Q_UNUSED(contact)
37 }
QLayout * layout() const const
void setContentsMargins(int left, int top, int right, int bottom)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Jun 23 2021 23:09:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.