#include <knewaccountwizard.h>
NewAccountWizard::Wizard::Wizard | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 , |
|||
bool | modal = false , |
|||
WFlags | flags = 0 | |||
) |
const MyMoneyAccount& NewAccountWizard::Wizard::account | ( | void | ) |
Returns the information about the account as entered by the user.
void NewAccountWizard::Wizard::setAccount | ( | const MyMoneyAccount & | acc | ) |
Method to load the generated account information back into the widget
const MyMoneyAccount& NewAccountWizard::Wizard::parentAccount | ( | void | ) |
Returns the information about the parent account as entered by the user.
const MyMoneySchedule& NewAccountWizard::Wizard::schedule | ( | void | ) |
Returns information about the schedule. If the returned value equals MyMoneySchedule() then the user did not select to create a schedule.
MyMoneyMoney NewAccountWizard::Wizard::openingBalance | ( | void | ) | const |
This method returns the value of the opening balance entered by the user
MyMoneyMoney NewAccountWizard::Wizard::interestRate | ( | void | ) | const |
This method returns the interest rate as factor, ie an interest rate of 6.5% will be returned as 0.065
MyMoneyTransaction NewAccountWizard::Wizard::payoutTransaction | ( | void | ) |
This method returns the payout transaction for loans. If the account to be created is not a loan or no payout transaction should be generated, this method returns an emtpy transaction.
MyMoneyAccount NewAccountWizard::Wizard::brokerageAccount | ( | void | ) | const |
This method returns a MyMoneyAccount() object filled with the data to create a brokerage account. If the user selected not to create a brokerage account or the account type is not able to create a brokerage account, an empty MyMoneyAccount() object is returned.
MyMoneyPrice NewAccountWizard::Wizard::conversionRate | ( | void | ) | const |
This method returns the conversion rate
const MyMoneySecurity& NewAccountWizard::Wizard::currency | ( | void | ) | const [protected] |
This method returns the currently selected currency for the account
int NewAccountWizard::Wizard::precision | ( | void | ) | const [protected] |
This method returns the precision in digits for the selected currency.
bool NewAccountWizard::Wizard::moneyBorrowed | ( | ) | const [protected] |
This method returns information about the selection of the user if the loan is for borrowing or lending money.
true | loan is for money borrowed | |
false | loan is for money lent |
void NewAccountWizard::Wizard::createInstitution | ( | MyMoneyInstitution & | institution | ) | [signal] |
void NewAccountWizard::Wizard::createAccount | ( | MyMoneyAccount & | account | ) | [signal] |
void NewAccountWizard::Wizard::createCategory | ( | MyMoneyAccount & | , | |
const MyMoneyAccount & | ||||
) | [signal] |
friend class AccountTypePage [friend] |
friend class InstitutionPage [friend] |
friend class BrokeragePage [friend] |
friend class CreditCardSchedulePage [friend] |
friend class GeneralLoanInfoPage [friend] |
friend class LoanDetailsPage [friend] |
friend class LoanPaymentPage [friend] |
friend class LoanSchedulePage [friend] |
friend class LoanPayoutPage [friend] |
friend class HierarchyPage [friend] |
friend class AccountSummaryPage [friend] |