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

0001 /*
0002     SPDX-FileCopyrightText: 2006 Ace Jones <acejones@users.sourceforge.net>
0003     SPDX-FileCopyrightText: 2006 Darren Gould <darren_gould@gmx.de>
0004     SPDX-FileCopyrightText: 2017 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef MYMONEYBUDGET_P_H
0009 #define MYMONEYBUDGET_P_H
0010 
0011 // ----------------------------------------------------------------------------
0012 // QT Includes
0013 
0014 #include <QDate>
0015 #include <QHash>
0016 #include <QMap>
0017 
0018 // ----------------------------------------------------------------------------
0019 // KDE Includes
0020 
0021 // ----------------------------------------------------------------------------
0022 // Project Includes
0023 
0024 #include "mymoneyobject_p.h"
0025 #include "mymoneymoney.h"
0026 #include "mymoneyenums.h"
0027 
0028 class MyMoneyBudgetPrivate : public MyMoneyObjectPrivate
0029 {
0030 public:
0031     /**
0032       * The user-assigned name of the Budget
0033       */
0034     QString m_name;
0035 
0036     /**
0037       * The user-assigned year of the Budget
0038       */
0039     QDate m_start;
0040 
0041     /**
0042       * Map the budgeted accounts
0043       *
0044       * Each account Id is stored against the AccountGroup information
0045       */
0046     QMap<QString, MyMoneyBudget::AccountGroup> m_accounts;
0047 };
0048 
0049 #endif