From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knode/headerview.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'knode/headerview.cpp') 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 ) { } -- cgit v1.2.1