diff options
Diffstat (limited to 'src/loanview.cpp')
-rw-r--r-- | src/loanview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/loanview.cpp b/src/loanview.cpp index 7f7d36d..b2e4347 100644 --- a/src/loanview.cpp +++ b/src/loanview.cpp @@ -70,9 +70,9 @@ void LoanView::contextMenuRequested(TQListViewItem* item_, const TQPoint& point_ GUI::ListViewItem* item = static_cast<GUI::ListViewItem*>(item_); if(item->isLoanItem()) { KPopupMenu menu(this); - menu.insertItem(SmallIconSet(TQString::fromLatin1("2downarrow")), + menu.insertItem(SmallIconSet(TQString::tqfromLatin1("2downarrow")), i18n("Check-in"), this, TQT_SLOT(slotCheckIn())); - menu.insertItem(SmallIconSet(TQString::fromLatin1("2downarrow")), + menu.insertItem(SmallIconSet(TQString::tqfromLatin1("2downarrow")), i18n("Modify Loan..."), this, TQT_SLOT(slotModifyLoan())); menu.exec(point_); } @@ -101,7 +101,7 @@ void LoanView::addCollection(Data::CollPtr coll_) { for(Data::BorrowerVec::Iterator it = borrowers.begin(); it != borrowers.end(); ++it) { addBorrower(it); } - Data::FieldPtr f = coll_->fieldByName(TQString::fromLatin1("title")); + Data::FieldPtr f = coll_->fieldByName(TQString::tqfromLatin1("title")); if(f) { setComparison(0, ListViewComparison::create(f)); } @@ -225,7 +225,7 @@ void LoanView::resetComparisons() { if(!coll) { return; } - Data::FieldPtr f = coll->fieldByName(TQString::fromLatin1("title")); + Data::FieldPtr f = coll->fieldByName(TQString::tqfromLatin1("title")); if(f) { setComparison(0, ListViewComparison::create(f)); } |