File indexing completed on 2024-05-12 05:12:46
0001 /* 0002 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QWidget> 0010 0011 #include "libakonadiconsole_export.h" 0012 0013 class QLineEdit; 0014 class QComboBox; 0015 class QCheckBox; 0016 class LIBAKONADICONSOLE_EXPORT JobTrackerSearchWidget : public QWidget 0017 { 0018 Q_OBJECT 0019 public: 0020 explicit JobTrackerSearchWidget(QWidget *parent = nullptr); 0021 ~JobTrackerSearchWidget() override; 0022 0023 Q_SIGNALS: 0024 void searchTextChanged(const QString &); 0025 void columnChanged(int col); 0026 void selectOnlyErrorChanged(bool state); 0027 0028 private: 0029 void slotColumnChanged(int index); 0030 QLineEdit *const mSearchLineEdit; 0031 QComboBox *const mSelectColumn; 0032 QCheckBox *const mSelectOnlyError; 0033 };