File indexing completed on 2024-04-28 05:27:04
0001 /* This file is part of the KDE project 0002 SPDX-FileCopyrightText: 2022 Marco Rebhan <me@dblsaiko.net> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only 0005 */ 0006 0007 #ifndef TYPESLISTITEMBASE_H 0008 #define TYPESLISTITEMBASE_H 0009 0010 #include <QTreeWidgetItem> 0011 0012 class TypesListItemBase : public QTreeWidgetItem 0013 { 0014 public: 0015 TypesListItemBase(QTreeWidget *parent = nullptr); 0016 TypesListItemBase(QTreeWidgetItem *parent = nullptr); 0017 0018 virtual ~TypesListItemBase() override = default; 0019 0020 virtual void loadIcon(bool forceReload = false) = 0; 0021 }; 0022 0023 #endif