Akonadi Contacts

addressdelegate.h
1/*
2 This file is part of Contact Editor.
3
4 SPDX-FileCopyrightText: 2019 Volker Krause <vkrause@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#pragma once
10
11#include <QStyledItemDelegate>
12
13namespace Akonadi
14{
15class AddressDelegate : public QStyledItemDelegate
16{
18public:
19 explicit AddressDelegate(QObject *parent = nullptr);
20
21 QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override;
22 void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
23};
24
25}
A widget for editing the display name of a contact.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.