File indexing completed on 2024-05-12 16:44:07
0001 /* 0002 SPDX-FileCopyrightText: 2006-2018 Thomas Baumgart <tbaumgart@kde.org> 0003 SPDX-FileCopyrightText: 2017-2018 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef REGISTERITEM_P_H 0008 #define REGISTERITEM_P_H 0009 0010 // ---------------------------------------------------------------------------- 0011 // QT Includes 0012 0013 // ---------------------------------------------------------------------------- 0014 // KDE Includes 0015 0016 // ---------------------------------------------------------------------------- 0017 // Project Includes 0018 0019 class MyMoneyMoney; 0020 class QDate; 0021 class QString; 0022 0023 namespace KMyMoneyRegister { 0024 class Register; 0025 } 0026 namespace KMyMoneyRegister { 0027 class RegisterItem; 0028 } 0029 0030 using namespace KMyMoneyRegister; 0031 0032 namespace KMyMoneyRegister 0033 { 0034 class RegisterItemPrivate 0035 { 0036 public: 0037 RegisterItemPrivate() : 0038 m_parent(nullptr), 0039 m_prev(nullptr), 0040 m_next(nullptr), 0041 m_startRow(0), 0042 m_rowsRegister(1), 0043 m_rowsForm(1), 0044 m_alternate(false), 0045 m_needResize(false), 0046 m_visible(true) 0047 { 0048 } 0049 0050 virtual ~RegisterItemPrivate() 0051 { 0052 } 0053 0054 Register* m_parent; 0055 RegisterItem* m_prev; 0056 RegisterItem* m_next; 0057 int m_startRow; 0058 int m_rowsRegister; 0059 int m_rowsForm; 0060 bool m_alternate; 0061 bool m_needResize; 0062 bool m_visible; 0063 0064 static QDate nullDate; 0065 static QString nullString; 0066 static MyMoneyMoney nullValue; 0067 0068 }; 0069 } 0070 0071 #endif