File indexing completed on 2024-05-19 05:08:20

0001 /*
0002     SPDX-FileCopyrightText: 2021 Thomas Baumgart <tbaumgart@kde.org>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef KSEARCHTRANSACTIONDLG_H
0007 #define KSEARCHTRANSACTIONDLG_H
0008 
0009 // ----------------------------------------------------------------------------
0010 // QT Includes
0011 
0012 #include <QDialog>
0013 #include <QScopedPointer>
0014 
0015 // ----------------------------------------------------------------------------
0016 // KDE Includes
0017 
0018 // ----------------------------------------------------------------------------
0019 // Project Includes
0020 
0021 class SelectedObjects;
0022 class KSearchTransactionDlgPrivate;
0023 class KSearchTransactionDlg : public QDialog
0024 {
0025     Q_OBJECT
0026     Q_DECLARE_PRIVATE(KSearchTransactionDlg);
0027     Q_DISABLE_COPY(KSearchTransactionDlg)
0028 
0029 public:
0030     explicit KSearchTransactionDlg(QWidget* parent);
0031     virtual ~KSearchTransactionDlg();
0032 
0033     bool eventFilter(QObject* watched, QEvent* event) override;
0034 
0035 Q_SIGNALS:
0036     void requestSelectionChange(const SelectedObjects& selections);
0037 
0038 private:
0039     const QScopedPointer<KSearchTransactionDlgPrivate> d_ptr;
0040 };
0041 
0042 #endif // KSEARCHTRANSACTIONDLG_H