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 TYPESLISTPROXYITEM_H 0008 #define TYPESLISTPROXYITEM_H 0009 0010 #include "typeslistitembase.h" 0011 0012 class TypesListItem; 0013 class QTreeWidget; 0014 0015 class TypesListProxyItem : public TypesListItemBase 0016 { 0017 public: 0018 explicit TypesListProxyItem(TypesListItem *inner, QTreeWidget *parent = nullptr); 0019 explicit TypesListProxyItem(TypesListItem *inner, QTreeWidgetItem *parent = nullptr); 0020 virtual ~TypesListProxyItem() override = default; 0021 0022 virtual void loadIcon(bool forceReload) override; 0023 0024 TypesListItem *inner(); 0025 0026 private: 0027 TypesListItem *m_inner; 0028 }; 0029 0030 #endif