File indexing completed on 2024-10-13 04:22:09

0001 /*
0002     SPDX-FileCopyrightText: 1998-2008 Sebastian Trueg <trueg@k3b.org>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef _K3B_DEVICE_DELEGATE_H_
0007 #define _K3B_DEVICE_DELEGATE_H_
0008 
0009 #include <KFileItemDelegate>
0010 
0011 namespace K3b {
0012     class DeviceDelegate : public KFileItemDelegate
0013     {
0014         Q_OBJECT
0015 
0016     public:
0017         explicit DeviceDelegate( QObject* parent );
0018         ~DeviceDelegate() override;
0019 
0020         QSize sizeHint( const QStyleOptionViewItem& option, const QModelIndex& index ) const override;
0021         void paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const override;
0022     };
0023 }
0024 
0025 #endif