diff options
Diffstat (limited to 'src/borrower.cpp')
-rw-r--r-- | src/borrower.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/borrower.cpp b/src/borrower.cpp index 594c946..48f8b03 100644 --- a/src/borrower.cpp +++ b/src/borrower.cpp @@ -19,11 +19,11 @@ using Tellico::Data::Loan; using Tellico::Data::Borrower; Loan::Loan(Data::EntryPtr entry, const TQDate& loanDate, const TQDate& dueDate, const TQString& note) - : KShared(), m_uid(Tellico::uid()), m_borrower(0), m_entry(entry), m_loanDate(loanDate), m_dueDate(dueDate), + : TDEShared(), m_uid(Tellico::uid()), m_borrower(0), m_entry(entry), m_loanDate(loanDate), m_dueDate(dueDate), m_note(note), m_inCalendar(false) { } -Loan::Loan(const Loan& other) : KShared(other), m_uid(Tellico::uid()), m_borrower(other.m_borrower), +Loan::Loan(const Loan& other) : TDEShared(other), m_uid(Tellico::uid()), m_borrower(other.m_borrower), m_entry(other.m_entry), m_loanDate(other.m_loanDate), m_dueDate(other.m_dueDate), m_note(other.m_note), m_inCalendar(false) { } @@ -37,17 +37,17 @@ Tellico::Data::EntryPtr Loan::entry() const { } Borrower::Borrower(const TQString& name_, const TQString& uid_) - : KShared(), m_name(name_), m_uid(uid_) { + : TDEShared(), m_name(name_), m_uid(uid_) { } Borrower::Borrower(const Borrower& b) - : KShared(b), m_name(b.m_name), m_uid(b.m_uid), m_loans(b.m_loans) { + : TDEShared(b), m_name(b.m_name), m_uid(b.m_uid), m_loans(b.m_loans) { } Borrower& Borrower::operator=(const Borrower& other_) { if(this == &other_) return *this; - static_cast<KShared&>(*this) = static_cast<const KShared&>(other_); + static_cast<TDEShared&>(*this) = static_cast<const TDEShared&>(other_); m_name = other_.m_name; m_uid = other_.m_uid; m_loans = other_.m_loans; |