File indexing completed on 2024-05-12 05:47:40
0001 /* 0002 * SPDX-FileCopyrightText: 2012 Emmanuel Pescosta <emmanuelpescosta099@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef FOLDERSITEMLISTWIDGET_H 0008 #define FOLDERSITEMLISTWIDGET_H 0009 0010 #include "kitemviews/kfileitemlistwidget.h" 0011 0012 /** 0013 * @brief Extends KFileItemListWidget to use the right text color. 0014 */ 0015 class FoldersItemListWidget : public KFileItemListWidget 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 FoldersItemListWidget(KItemListWidgetInformant *informant, QGraphicsItem *parent); 0021 ~FoldersItemListWidget() override; 0022 0023 protected: 0024 QPalette::ColorRole normalTextColorRole() const override; 0025 }; 0026 0027 #endif