diff options
Diffstat (limited to 'src/gui/listview.cpp')
-rw-r--r-- | src/gui/listview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/listview.cpp b/src/gui/listview.cpp index 5ea04cd..0d03228 100644 --- a/src/gui/listview.cpp +++ b/src/gui/listview.cpp @@ -121,7 +121,7 @@ void ListView::setColumnText(int column, const TQString& label) { void ListView::setComparison(int column, ListViewComparison* comp) { if(comp) { - m_comparisons.tqreplace(columnText(column), comp); + m_comparisons.replace(columnText(column), comp); } } @@ -135,7 +135,7 @@ void ListView::clearComparisons() { int ListView::compare(int col, const GUI::ListViewItem* item1, GUI::ListViewItem* item2, bool asc) { if(col >= 0 && col < static_cast<int>(m_comparisons.count())) { - ListViewComparison* com = m_comparisons.tqfind(columnText(col)); + ListViewComparison* com = m_comparisons.find(columnText(col)); if(com) { return com->compare(col, item1, item2, asc); } @@ -200,7 +200,7 @@ void ListView::slotSelectionChanged() { for(GUI::ListViewItemListIt it(m_selectedItems); it.current(); ++it) { Data::EntryVec more = it.current()->entries(); for(Data::EntryVecIt entry = more.begin(); entry != more.end(); ++entry) { - if(!entries.tqcontains(entry)) { + if(!entries.contains(entry)) { entries.append(entry); } } @@ -336,7 +336,7 @@ Tellico::Data::EntryVec ListViewItem::entries() const { for(TQListViewItem* child = firstChild(); child; child = child->nextSibling()) { Data::EntryVec more = static_cast<GUI::ListViewItem*>(child)->entries(); for(Data::EntryVecIt entry = more.begin(); entry != more.end(); ++entry) { - if(!entries.tqcontains(entry)) { + if(!entries.contains(entry)) { entries.append(entry); } } |