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

0001 /*
0002     SPDX-FileCopyrightText: 2015-2019 Thomas Baumgart <tbaumgart@kde.org>
0003     SPDX-FileCopyrightText: 2020 Robert Szczesiak <dev.rszczesiak@gmail.com>
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef NEWTRANSACTIONFORM_H
0008 #define NEWTRANSACTIONFORM_H
0009 
0010 // ----------------------------------------------------------------------------
0011 // QT Includes
0012 
0013 #include <QFrame>
0014 class QModelIndex;
0015 
0016 // ----------------------------------------------------------------------------
0017 // KDE Includes
0018 
0019 // ----------------------------------------------------------------------------
0020 // Project Includes
0021 
0022 
0023 class NewTransactionForm : public QFrame
0024 {
0025     Q_OBJECT
0026 public:
0027     explicit NewTransactionForm(QWidget* parent = nullptr);
0028     virtual ~NewTransactionForm();
0029 
0030 public Q_SLOTS:
0031     void showTransaction(const QModelIndex& idx);
0032     void modelDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight);
0033 
0034 protected Q_SLOTS:
0035     void rowsInserted(const QModelIndex& parent, int first, int last);
0036     void rowsRemoved(const QModelIndex& parent, int first, int last);
0037 
0038 private:
0039     class Private;
0040     Private * const d;
0041 };
0042 
0043 #endif // NEWTRANSACTIONFORM_H
0044