File indexing completed on 2024-05-19 05:06:49
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 "kmm_base_dialogs_export.h" 0013 0014 #include <QObject> 0015 class QString; 0016 class QWidget; 0017 0018 // ---------------------------------------------------------------------------- 0019 // KDE Includes 0020 0021 // ---------------------------------------------------------------------------- 0022 // Project Includes 0023 0024 class MyMoneyAccount; 0025 0026 class KMM_BASE_DIALOGS_EXPORT KBalanceWarning : public QObject 0027 { 0028 Q_OBJECT 0029 public: 0030 explicit KBalanceWarning(QObject* parent); 0031 virtual ~KBalanceWarning(); 0032 0033 public Q_SLOTS: 0034 void slotShowMessage(QWidget* parent, const MyMoneyAccount& account, const QString& msg); 0035 0036 private: 0037 class Private; 0038 Private* d; 0039 }; 0040 0041 #endif