diff options
Diffstat (limited to 'src/loandialog.cpp')
-rw-r--r-- | src/loandialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/loandialog.cpp b/src/loandialog.cpp index 5835c53..5d67a8f 100644 --- a/src/loandialog.cpp +++ b/src/loandialog.cpp @@ -36,14 +36,14 @@ using Tellico::LoanDialog; -LoanDialog::LoanDialog(const Data::EntryVec& entries_, TQWidget* tqparent_, const char* name_/*=0*/) - : KDialogBase(tqparent_, name_, true, i18n("Loan Dialog"), Ok|Cancel), +LoanDialog::LoanDialog(const Data::EntryVec& entries_, TQWidget* parent_, const char* name_/*=0*/) + : KDialogBase(parent_, name_, true, i18n("Loan Dialog"), Ok|Cancel), m_mode(Add), m_borrower(0), m_entries(entries_), m_loan(0) { init(); } -LoanDialog::LoanDialog(Data::LoanPtr loan_, TQWidget* tqparent_, const char* name_/*=0*/) - : KDialogBase(tqparent_, name_, true, i18n("Modify Loan"), Ok|Cancel), +LoanDialog::LoanDialog(Data::LoanPtr loan_, TQWidget* parent_, const char* name_/*=0*/) + : KDialogBase(parent_, name_, true, i18n("Modify Loan"), Ok|Cancel), m_mode(Modify), m_borrower(loan_->borrower()), m_loan(loan_) { m_entries.append(m_loan->entry()); |