summaryrefslogtreecommitdiffstats
path: root/src/borroweritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/borroweritem.cpp')
-rw-r--r--src/borroweritem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/borroweritem.cpp b/src/borroweritem.cpp
index 0a9ee51..9b920e8 100644
--- a/src/borroweritem.cpp
+++ b/src/borroweritem.cpp
@@ -19,10 +19,10 @@
using Tellico::BorrowerItem;
-BorrowerItem::BorrowerItem(GUI::ListView* parent_, Data::BorrowerPtr borrower_)
- : GUI::CountedItem(parent_), m_borrower(borrower_) {
+BorrowerItem::BorrowerItem(GUI::ListView* tqparent_, Data::BorrowerPtr borrower_)
+ : GUI::CountedItem(tqparent_), m_borrower(borrower_) {
setText(0, borrower_->name());
- setPixmap(0, SmallIcon(QString::fromLatin1("kaddressbook")));
+ setPixmap(0, SmallIcon(TQString::tqfromLatin1("kaddressbook")));
}
int BorrowerItem::count() const {
@@ -32,7 +32,7 @@ int BorrowerItem::count() const {
Tellico::Data::EntryVec BorrowerItem::entries() const {
Data::EntryVec entries;
for(Data::LoanVec::ConstIterator loan = m_borrower->loans().begin(); loan != m_borrower->loans().end(); ++loan) {
- if(!entries.contains(loan->entry())) {
+ if(!entries.tqcontains(loan->entry())) {
entries.append(loan->entry());
}
}