summaryrefslogtreecommitdiffstats
path: root/kdeui/klistviewsearchline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/klistviewsearchline.cpp')
-rw-r--r--kdeui/klistviewsearchline.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdeui/klistviewsearchline.cpp b/kdeui/klistviewsearchline.cpp
index 23fb14e18..6a73f9e38 100644
--- a/kdeui/klistviewsearchline.cpp
+++ b/kdeui/klistviewsearchline.cpp
@@ -302,7 +302,7 @@ void KListViewSearchLine::activateSearch()
void KListViewSearchLine::itemAdded(TQListViewItem *item) const
{
- item->setVisible(itemMatches(item, text()));
+ item->tqsetVisible(itemMatches(item, text()));
}
void KListViewSearchLine::listViewDeleted()
@@ -347,9 +347,9 @@ void KListViewSearchLine::checkItemParentsNotVisible()
{
TQListViewItem *item = it.current();
if(itemMatches(item, d->search))
- item->setVisible(true);
+ item->tqsetVisible(true);
else
- item->setVisible(false);
+ item->tqsetVisible(false);
}
}
@@ -381,23 +381,23 @@ bool KListViewSearchLine::checkItemParentsVisible(TQListViewItem *item, TQListVi
visible = true;
if (highestHiddenParent)
{
- highestHiddenParent->setVisible(true);
- // Calling setVisible on our ancestor will unhide all its descendents. Hide the ones
+ highestHiddenParent->tqsetVisible(true);
+ // Calling tqsetVisible on our ancestor will unhide all its descendents. Hide the ones
// before us that should not be shown.
for(TQListViewItem *hide = first; hide != item; hide = hide->nextSibling())
- hide->setVisible(false);
+ hide->tqsetVisible(false);
highestHiddenParent = 0;
- // If we matched, than none of our children matched, yet the setVisible() call on our
+ // If we matched, than none of our children matched, yet the tqsetVisible() call on our
// ancestor unhid them, undo the damage:
if(!childMatch)
for(TQListViewItem *hide = item->firstChild(); hide; hide = hide->nextSibling())
- hide->setVisible(false);
+ hide->tqsetVisible(false);
}
else
- item->setVisible(true);
+ item->tqsetVisible(true);
}
else
- item->setVisible(false);
+ item->tqsetVisible(false);
}
return visible;
}
@@ -470,7 +470,7 @@ KListViewSearchLine *KListViewSearchLineWidget::searchLine() const
void KListViewSearchLineWidget::positionInToolBar()
{
- KToolBar *toolBar = dynamic_cast<KToolBar *>(parent());
+ KToolBar *toolBar = tqt_dynamic_cast<KToolBar *>(parent());
if(toolBar) {