summaryrefslogtreecommitdiffstats
path: root/knode/headerview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/headerview.cpp')
-rw-r--r--knode/headerview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/knode/headerview.cpp b/knode/headerview.cpp
index 3b76b26ec..1451844df 100644
--- a/knode/headerview.cpp
+++ b/knode/headerview.cpp
@@ -32,8 +32,8 @@
#include "knmainwidget.h"
-KNHeaderView::KNHeaderView(TQWidget *tqparent, const char *name) :
- KListView(tqparent,name),
+KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) :
+ KListView(parent,name),
mSortCol( -1 ),
mSortAsc( true ),
mSortByThreadChangeDate( false ),
@@ -171,11 +171,11 @@ void KNHeaderView::ensureItemVisibleWithMargin( const TQListViewItem *i )
if ( !i )
return;
- TQListViewItem *tqparent = i->tqparent();
- while ( tqparent ) {
- if ( !tqparent->isOpen() )
- tqparent->setOpen( true );
- tqparent = tqparent->tqparent();
+ TQListViewItem *parent = i->parent();
+ while ( parent ) {
+ if ( !parent->isOpen() )
+ parent->setOpen( true );
+ parent = parent->parent();
}
mDelayedCenter = -1;
@@ -582,9 +582,9 @@ void KNHeaderView::resetCurrentTime()
//BEGIN: KNHeaderViewToolTip ==================================================
-KNHeaderViewToolTip::KNHeaderViewToolTip( KNHeaderView *tqparent ) :
- TQToolTip( tqparent->viewport() ),
- listView( tqparent )
+KNHeaderViewToolTip::KNHeaderViewToolTip( KNHeaderView *parent ) :
+ TQToolTip( parent->viewport() ),
+ listView( parent )
{
}