summaryrefslogtreecommitdiffstats
path: root/src/loanview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:15:24 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:15:24 -0600
commit8d9b90ca794ffabf151719c2edebe9278a2d3f36 (patch)
tree55f446de8694c45be6bf0f1178920c2b92b0c9f5 /src/loanview.cpp
parent2781e27b871150395a5a82e221684108641002b2 (diff)
downloadtellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.tar.gz
tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/loanview.cpp')
-rw-r--r--src/loanview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/loanview.cpp b/src/loanview.cpp
index b2e4347..7f7d36d 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::tqfromLatin1("2downarrow")),
+ menu.insertItem(SmallIconSet(TQString::fromLatin1("2downarrow")),
i18n("Check-in"), this, TQT_SLOT(slotCheckIn()));
- menu.insertItem(SmallIconSet(TQString::tqfromLatin1("2downarrow")),
+ menu.insertItem(SmallIconSet(TQString::fromLatin1("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::tqfromLatin1("title"));
+ Data::FieldPtr f = coll_->fieldByName(TQString::fromLatin1("title"));
if(f) {
setComparison(0, ListViewComparison::create(f));
}
@@ -225,7 +225,7 @@ void LoanView::resetComparisons() {
if(!coll) {
return;
}
- Data::FieldPtr f = coll->fieldByName(TQString::tqfromLatin1("title"));
+ Data::FieldPtr f = coll->fieldByName(TQString::fromLatin1("title"));
if(f) {
setComparison(0, ListViewComparison::create(f));
}