File indexing completed on 2024-05-05 04:39:44

0001 /*
0002     SPDX-FileCopyrightText: 2005 Adam Treat <treat@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDEVPLATFORM_PLUGIN_KDEVDOCUMENTVIEWDELEGATE_H
0008 #define KDEVPLATFORM_PLUGIN_KDEVDOCUMENTVIEWDELEGATE_H
0009 
0010 #include <QItemDelegate>
0011 
0012 class KDevDocumentViewDelegate: public QItemDelegate
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit KDevDocumentViewDelegate( QObject *parent = nullptr );
0017     ~KDevDocumentViewDelegate() override;
0018 
0019     void paint( QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index ) const override;
0020 };
0021 
0022 #endif // KDEVPLATFORM_PLUGIN_KDEVCLASSVIEWDELEGATE_H