File indexing completed on 2024-04-21 03:50:58
0001 /* 0002 SPDX-FileCopyrightText: 2008 Frederik Gladhorn <frederik.gladhorn@kdemail.net> 0003 SPDX-FileCopyrightText: 2016 Hartmut Riesenbeck <hartmut.riesenbeck@gmx.de> 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef ENTRYFILTERDIALOG_H 0008 #define ENTRYFILTERDIALOG_H 0009 0010 #include <QDialog> 0011 #include <QScopedPointer> 0012 0013 class EntryFilter; 0014 namespace Ui 0015 { 0016 class EntryFilterDialog; 0017 } 0018 0019 class EntryFilterDialog : public QDialog 0020 { 0021 Q_OBJECT 0022 public: 0023 explicit EntryFilterDialog(EntryFilter &entryFilter); 0024 ~EntryFilterDialog() override; 0025 0026 bool ignoreBlocked() const; 0027 0028 private: 0029 void setupEntryCounts(); 0030 void setupCheckBoxes(); 0031 void setupConnections(); 0032 0033 private Q_SLOTS: 0034 void updateTotal(); 0035 0036 private: 0037 QScopedPointer<Ui::EntryFilterDialog> m_ui; 0038 EntryFilter &m_entryFilter; 0039 }; 0040 0041 #endif // ENTRYFILTERDIALOG_H