File indexing completed on 2024-05-12 16:42:03

0001 /*
0002     SPDX-FileCopyrightText: 2009 Thomas Baumgart <tbaumgart@kde.org>
0003     SPDX-FileCopyrightText: 2017 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef KBALANCEWARNING_H
0008 #define KBALANCEWARNING_H
0009 // ----------------------------------------------------------------------------
0010 // QT Includes
0011 
0012 #include <QObject>
0013 class QString;
0014 class QWidget;
0015 
0016 // ----------------------------------------------------------------------------
0017 // KDE Includes
0018 
0019 // ----------------------------------------------------------------------------
0020 // Project Includes
0021 
0022 class MyMoneyAccount;
0023 
0024 class KBalanceWarning : public QObject
0025 {
0026     Q_OBJECT
0027 public:
0028     explicit KBalanceWarning(QObject* parent);
0029     virtual ~KBalanceWarning();
0030 
0031 public Q_SLOTS:
0032     void slotShowMessage(QWidget* parent, const MyMoneyAccount& account, const QString& msg);
0033 
0034 private:
0035     class Private;
0036     Private* d;
0037 };
0038 
0039 #endif