diff options
Diffstat (limited to 'konqueror/listview/konq_listviewwidget.cc')
-rw-r--r-- | konqueror/listview/konq_listviewwidget.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/konqueror/listview/konq_listviewwidget.cc b/konqueror/listview/konq_listviewwidget.cc index e0e1d778d..b72586f8f 100644 --- a/konqueror/listview/konq_listviewwidget.cc +++ b/konqueror/listview/konq_listviewwidget.cc @@ -989,13 +989,13 @@ void KonqBaseListViewWidget::slotReturnPressed( TQListViewItem *_item ) // calculate nesting depth int nestingDepth = 0; - for (TQListViewItem *currentItem = _item->tqparent(); + for (TQListViewItem *currentItem = _item->parent(); currentItem != 0; - currentItem = currentItem->tqparent()) + currentItem = currentItem->parent()) nestingDepth++; // no parent no indent - if (_item->tqparent() == 0) + if (_item->parent() == 0) nestingDepth = 0; // Root decoration means additional indent @@ -1371,13 +1371,13 @@ KonqBaseListViewWidget::iterator& KonqBaseListViewWidget::iterator::operator++() m_p = i; return *this; } - m_p = (KonqBaseListViewItem *)m_p->tqparent(); + m_p = (KonqBaseListViewItem *)m_p->parent(); while ( m_p ) { if ( m_p->nextSibling() ) break; - m_p = (KonqBaseListViewItem *)m_p->tqparent(); + m_p = (KonqBaseListViewItem *)m_p->parent(); } if ( m_p ) @@ -1402,13 +1402,13 @@ KonqBaseListViewWidget::iterator KonqBaseListViewWidget::iterator::operator++(in m_p = i; return it; } - m_p = (KonqBaseListViewItem *)m_p->tqparent(); + m_p = (KonqBaseListViewItem *)m_p->parent(); while ( m_p ) { if ( m_p->nextSibling() ) break; - m_p = (KonqBaseListViewItem *)m_p->tqparent(); + m_p = (KonqBaseListViewItem *)m_p->parent(); } if ( m_p ) |