summaryrefslogtreecommitdiffstats
path: root/src/gui/listview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/listview.cpp')
-rw-r--r--src/gui/listview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/listview.cpp b/src/gui/listview.cpp
index c3c3998..4b8c250 100644
--- a/src/gui/listview.cpp
+++ b/src/gui/listview.cpp
@@ -147,7 +147,7 @@ int ListView::compare(int col, const GUI::ListViewItem* item1, GUI::ListViewItem
void ListView::setShadeSortColumn(bool shade_) {
if(m_shadeSortColumn != shade_) {
m_shadeSortColumn = shade_;
- tqrepaint();
+ repaint();
}
}
#endif
@@ -181,7 +181,7 @@ void ListView::slotUpdateColors() {
}
#endif
Tellico::updateContrastColor(viewport()->colorGroup());
- tqrepaint();
+ repaint();
}
void ListView::slotSelectionChanged() {
@@ -196,7 +196,7 @@ void ListView::slotSelectionChanged() {
m_isClear = false;
Data::EntryVec entries;
- // now just find all the tqchildren or grandtqchildren that are entry items
+ // now just find all the children or grandchildren that are entry items
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) {
@@ -214,8 +214,8 @@ void ListView::slotDoubleClicked(TQListViewItem* item_) {
return;
}
- // if it has tqchildren, just open it
- // but some items delay tqchildren creation
+ // if it has children, just open it
+ // but some items delay children creation
if(static_cast<ListViewItem*>(item_)->realChildCount() > 0) {
item_->setOpen(!item_->isOpen());
}
@@ -234,8 +234,8 @@ void ListView::drawContentsOffset(TQPainter* p, int ox, int oy, int cx, int cy,
/* ****************** ListViewItem ********************* */
ListViewItem::~ListViewItem() {
- // I think there's a bug in qt where the tqchildren of this item are deleted after the item itself
- // as a result, there is no listView() pointer for the tqchildren, that obvious causes
+ // I think there's a bug in qt where the children of this item are deleted after the item itself
+ // as a result, there is no listView() pointer for the children, that obvious causes
// a problem with updating the selection. So we MUST call clear() here ourselves!
clear();
// be sure to remove from selected list when it's deleted