summaryrefslogtreecommitdiffstats
path: root/knode/headerview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/headerview.cpp')
-rw-r--r--knode/headerview.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/knode/headerview.cpp b/knode/headerview.cpp
index be497e6dc..0007ffe67 100644
--- a/knode/headerview.cpp
+++ b/knode/headerview.cpp
@@ -32,8 +32,8 @@
#include "knmainwidget.h"
-KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) :
- KListView(parent,name),
+KNHeaderView::KNHeaderView(TQWidget *tqparent, const char *name) :
+ KListView(tqparent,name),
mSortCol( -1 ),
mSortAsc( true ),
mSortByThreadChangeDate( false ),
@@ -61,8 +61,8 @@ KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) :
setRootIsDecorated( true );
setSorting( mPaintInfo.dateCol );
header()->setMovingEnabled( true );
- setColumnAlignment( mPaintInfo.sizeCol, Qt::AlignRight );
- setColumnAlignment( mPaintInfo.scoreCol, Qt::AlignRight );
+ setColumnAlignment( mPaintInfo.sizeCol, TQt::AlignRight );
+ setColumnAlignment( mPaintInfo.scoreCol, TQt::AlignRight );
// due to our own column text squeezing we need to tqrepaint on column resizing
disconnect( header(), TQT_SIGNAL(sizeChange(int, int, int)) );
@@ -171,11 +171,11 @@ void KNHeaderView::ensureItemVisibleWithMargin( const TQListViewItem *i )
if ( !i )
return;
- TQListViewItem *parent = i->parent();
- while ( parent ) {
- if ( !parent->isOpen() )
- parent->setOpen( true );
- parent = parent->parent();
+ TQListViewItem *tqparent = i->tqparent();
+ while ( tqparent ) {
+ if ( !tqparent->isOpen() )
+ tqparent->setOpen( true );
+ tqparent = tqparent->tqparent();
}
mDelayedCenter = -1;
@@ -582,9 +582,9 @@ void KNHeaderView::resetCurrentTime()
//BEGIN: KNHeaderViewToolTip ==================================================
-KNHeaderViewToolTip::KNHeaderViewToolTip( KNHeaderView *parent ) :
- TQToolTip( parent->viewport() ),
- listView( parent )
+KNHeaderViewToolTip::KNHeaderViewToolTip( KNHeaderView *tqparent ) :
+ TQToolTip( tqparent->viewport() ),
+ listView( tqparent )
{
}