1 /*************************************************************************** 2 kloanpaymentpage.cpp 3 ------------------- 4 begin : Tue Sep 25 2006 5 copyright : (C) 2007 Thomas Baumgart 6 email : Thomas Baumgart <ipwizard@users.sourceforge.net> 7 (C) 2017 by Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> 8 ***************************************************************************/ 9 10 /*************************************************************************** 11 * * 12 * This program is free software; you can redistribute it and/or modify * 13 * it under the terms of the GNU General Public License as published by * 14 * the Free Software Foundation; either version 2 of the License, or * 15 * (at your option) any later version. * 16 * * 17 ***************************************************************************/ 18 19 #ifndef KLOANPAYMENTPAGE_P_H 20 #define KLOANPAYMENTPAGE_P_H 21 22 // ---------------------------------------------------------------------------- 23 // QT Includes 24 25 // ---------------------------------------------------------------------------- 26 // KDE Includes 27 28 // ---------------------------------------------------------------------------- 29 // Project Includes 30 31 #include "ui_kloanpaymentpage.h" 32 33 #include "wizardpage_p.h" 34 #include "mymoneyaccount.h" 35 #include "mymoneymoney.h" 36 #include "mymoneysplit.h" 37 #include "mymoneytransaction.h" 38 39 namespace NewAccountWizard 40 { 41 class Wizard; 42 43 class LoanPaymentPagePrivate : public WizardPagePrivate<Wizard> 44 { Q_DISABLE_COPY(LoanPaymentPagePrivate)45 Q_DISABLE_COPY(LoanPaymentPagePrivate) 46 47 public: 48 explicit LoanPaymentPagePrivate(QObject* parent) : 49 WizardPagePrivate<Wizard>(parent), 50 ui(new Ui::KLoanPaymentPage) 51 { 52 } 53 ~LoanPaymentPagePrivate()54 ~LoanPaymentPagePrivate() 55 { 56 delete ui; 57 } 58 59 Ui::KLoanPaymentPage *ui; 60 MyMoneyAccount phonyAccount; 61 MyMoneySplit phonySplit; 62 MyMoneyTransaction additionalFeesTransaction; 63 MyMoneyMoney additionalFees; 64 }; 65 } 66 67 #endif 68