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 --- libkdepim/progressmanager.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libkdepim/progressmanager.cpp') diff --git a/libkdepim/progressmanager.cpp b/libkdepim/progressmanager.cpp index 9dd80c9dc..a00970c5e 100644 --- a/libkdepim/progressmanager.cpp +++ b/libkdepim/progressmanager.cpp @@ -35,10 +35,10 @@ KPIM::ProgressManager * KPIM::ProgressManager::mInstance = 0; unsigned int KPIM::ProgressManager::uID = 42; ProgressItem::ProgressItem( - ProgressItem* tqparent, const TQString& id, + ProgressItem* parent, const TQString& id, const TQString& label, const TQString& status, bool canBeCanceled, bool usesCrypto ) - :mId( id ), mLabel( label ), mtqStatus( status ), mParent( tqparent ), + :mId( id ), mLabel( label ), mtqStatus( status ), mParent( parent ), mCanBeCanceled( canBeCanceled ), mProgress( 0 ), mTotal( 0 ), mCompleted( 0 ), mWaitingForKids( false ), mCanceled( false ), mUsesCrypto( usesCrypto ), mUsesBusyIndicator( false ) @@ -56,8 +56,8 @@ void ProgressItem::setComplete() if ( !mCanceled ) setProgress( 100 ); emit progressItemCompleted( this ); - if ( tqparent() ) - tqparent()->removeChild( this ); + if ( parent() ) + parent()->removeChild( this ); deleteLater(); } else { mWaitingForKids = true; @@ -147,16 +147,16 @@ ProgressManager* ProgressManager::instance() } ProgressItem* ProgressManager::createProgressItemImpl( - ProgressItem* tqparent, const TQString& id, + ProgressItem* parent, const TQString& id, const TQString &label, const TQString &status, bool cancellable, bool usesCrypto ) { ProgressItem *t = 0; if ( !mTransactions[ id ] ) { - t = new ProgressItem ( tqparent, id, label, status, cancellable, usesCrypto ); + t = new ProgressItem ( parent, id, label, status, cancellable, usesCrypto ); mTransactions.insert( id, t ); - if ( tqparent ) { - ProgressItem *p = mTransactions[ tqparent->id() ]; + if ( parent ) { + ProgressItem *p = mTransactions[ parent->id() ]; if ( p ) { p->addChild( t ); } @@ -188,11 +188,11 @@ ProgressItem* ProgressManager::createProgressItemImpl( } ProgressItem* ProgressManager::createProgressItemImpl( - const TQString& tqparent, const TQString &id, + const TQString& parent, const TQString &id, const TQString &label, const TQString& status, bool canBeCanceled, bool usesCrypto ) { - ProgressItem * p = mTransactions[tqparent]; + ProgressItem * p = mTransactions[parent]; return createProgressItemImpl( p, id, label, status, canBeCanceled, usesCrypto ); } @@ -225,7 +225,7 @@ ProgressItem* ProgressManager::singleItem() const if ( (*it)->usesBusyIndicator() ) return 0; - if ( !(*it)->tqparent() ) { // if it's a top level one, only those count + if ( !(*it)->parent() ) { // if it's a top level one, only those count if ( item ) return 0; // we found more than one else -- cgit v1.2.1