diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
commit | 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch) | |
tree | 18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/borroweritem.cpp | |
parent | 1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff) | |
download | tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip |
TQt4 port tellico
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/borroweritem.cpp')
-rw-r--r-- | src/borroweritem.cpp | 8 |
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()); } } |