File indexing completed on 2024-05-12 16:44:05
0001 /* 0002 SPDX-FileCopyrightText: 2015 Christian Dávid <christian-david@web.de> 0003 SPDX-FileCopyrightText: 2017-2018 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KTREEWIDGETFILTERLINEWIDGET_H 0008 #define KTREEWIDGETFILTERLINEWIDGET_H 0009 0010 #include <KTreeWidgetSearchLineWidget> 0011 #include "kmm_widgets_export.h" 0012 0013 class KMM_WIDGETS_EXPORT KTreeWidgetFilterLineWidget : public KTreeWidgetSearchLineWidget 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 explicit KTreeWidgetFilterLineWidget(QWidget* parent = nullptr, QTreeWidget *treeWidget = 0); 0019 0020 protected Q_SLOTS: 0021 /** 0022 * @copydoc KTreeWidgetSearchLineWidget::createWidgets() 0023 * 0024 * After widgets are created, this version finds the label and renames it to "Filter" 0025 */ 0026 void createWidgets() final override; 0027 }; 0028 0029 #endif // KTREEWIDGETFILTERLINEWIDGET_H