summaryrefslogtreecommitdiffstats
path: root/src/loanview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
commit2781e27b871150395a5a82e221684108641002b2 (patch)
tree57f4d7c01a48faef1a840fbe0de8f4ec1e5f606f /src/loanview.cpp
parent031454e56009d576589c28757f6c6fcf4884095e (diff)
downloadtellico-2781e27b871150395a5a82e221684108641002b2.tar.gz
tellico-2781e27b871150395a5a82e221684108641002b2.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 031454e56009d576589c28757f6c6fcf4884095e.
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 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));
}