File indexing completed on 2025-02-16 11:26:43
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 IPV4DELEGATE_H 0008 #define IPV4DELEGATE_H 0009 0010 #include "delegate.h" 0011 #include <QWidget> 0012 0013 class IpV4Delegate : public Delegate 0014 { 0015 Q_OBJECT 0016 public: 0017 explicit IpV4Delegate(QObject *parent = nullptr); 0018 ~IpV4Delegate() override; 0019 0020 QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override; 0021 }; 0022 0023 #endif