File indexing completed on 2024-05-19 05:08:18

0001 /*
0002     SPDX-FileCopyrightText: 2019 Thomas Baumgart <tbaumgart@kde.org>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 // ----------------------------------------------------------------------------
0007 // QT Includes
0008 
0009 // ----------------------------------------------------------------------------
0010 // KDE Includes
0011 
0012 // ----------------------------------------------------------------------------
0013 // Project Includes
0014 
0015 #include "kmmstyleditemdelegate.h"
0016 
0017 KMMStyledItemDelegate::KMMStyledItemDelegate(QWidget* parent)
0018     : QStyledItemDelegate(parent)
0019 {
0020 }
0021 
0022 KMMStyledItemDelegate::~KMMStyledItemDelegate()
0023 {
0024 }
0025 
0026 bool KMMStyledItemDelegate::editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index)
0027 {
0028     return QStyledItemDelegate::editorEvent(event, model, option, index);
0029 }
0030 
0031 bool KMMStyledItemDelegate::eventFilter(QObject* watched, QEvent* event)
0032 {
0033     return QStyledItemDelegate::eventFilter(watched, event);
0034 }