File indexing completed on 2024-07-21 07:58:07

0001 /*
0002     SPDX-FileCopyrightText: 2011 Ilia Kats <ilia-kats@gmx.net>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #ifndef IPV6DELEGATE_H
0008 #define IPV6DELEGATE_H
0009 
0010 #include <QStyledItemDelegate>
0011 #include <QWidget>
0012 
0013 #include "delegate.h"
0014 
0015 class IpV6Delegate : public Delegate
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit IpV6Delegate(QObject *parent = nullptr);
0020     ~IpV6Delegate() override;
0021 
0022     QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
0023 };
0024 
0025 #endif