diff options
Diffstat (limited to 'src/filterview.cpp')
-rw-r--r-- | src/filterview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/filterview.cpp b/src/filterview.cpp index 57061a2..ac96699 100644 --- a/src/filterview.cpp +++ b/src/filterview.cpp @@ -64,9 +64,9 @@ void FilterView::contextMenuRequested(TQListViewItem* item_, const TQPoint& poin GUI::ListViewItem* item = static_cast<GUI::ListViewItem*>(item_); if(item->isFilterItem()) { KPopupMenu menu(this); - menu.insertItem(SmallIconSet(TQString::fromLatin1("filter")), + menu.insertItem(SmallIconSet(TQString::tqfromLatin1("filter")), i18n("Modify Filter"), this, TQT_SLOT(slotModifyFilter())); - menu.insertItem(SmallIconSet(TQString::fromLatin1("editdelete")), + menu.insertItem(SmallIconSet(TQString::tqfromLatin1("editdelete")), i18n("Delete Filter"), this, TQT_SLOT(slotDeleteFilter())); menu.exec(point_); } @@ -95,7 +95,7 @@ void FilterView::addCollection(Data::CollPtr coll_) { for(FilterVec::Iterator it = filters.begin(); it != filters.end(); ++it) { addFilter(it); } - Data::FieldPtr f = coll_->fieldByName(TQString::fromLatin1("title")); + Data::FieldPtr f = coll_->fieldByName(TQString::tqfromLatin1("title")); if(f) { setComparison(0, ListViewComparison::create(f)); } @@ -122,7 +122,7 @@ void FilterView::modifyEntry(Data::EntryPtr entry_) { for(TQListViewItem* item = firstChild(); item; item = item->nextSibling()) { bool hasEntry = false; TQListViewItem* entryItem = 0; - // iterate over all children and find item with matching entry pointers + // iterate over all tqchildren and find item with matching entry pointers for(TQListViewItem* i = item->firstChild(); i; i = i->nextSibling()) { if(static_cast<EntryItem*>(i)->entry() == entry_) { i->setText(0, entry_->title()); @@ -146,7 +146,7 @@ void FilterView::modifyEntry(Data::EntryPtr entry_) { void FilterView::removeEntries(Data::EntryVec entries_) { // the group modified signal gets handles separately, this is just for filters for(TQListViewItem* item = firstChild(); item; item = item->nextSibling()) { - // iterate over all children and delete items with matching entry pointers + // iterate over all tqchildren and delete items with matching entry pointers TQListViewItem* c1 = item->firstChild(); while(c1) { if(entries_.contains(static_cast<EntryItem*>(c1)->entry())) { @@ -257,7 +257,7 @@ void FilterView::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)); } |