summaryrefslogtreecommitdiffstats
path: root/libkdepim/statusbarprogresswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/statusbarprogresswidget.cpp')
-rw-r--r--libkdepim/statusbarprogresswidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdepim/statusbarprogresswidget.cpp b/libkdepim/statusbarprogresswidget.cpp
index 2b2ef1dbc..c417905a0 100644
--- a/libkdepim/statusbarprogresswidget.cpp
+++ b/libkdepim/statusbarprogresswidget.cpp
@@ -58,8 +58,8 @@ using KPIM::ProgressManager;
using namespace KPIM;
//-----------------------------------------------------------------------------
-StatusbarProgressWidget::StatusbarProgressWidget( ProgressDialog* progressDialog, TQWidget* tqparent, bool button )
- : TQFrame( tqparent ), mCurrentItem( 0 ), mProgressDialog( progressDialog ),
+StatusbarProgressWidget::StatusbarProgressWidget( ProgressDialog* progressDialog, TQWidget* parent, bool button )
+ : TQFrame( parent ), mCurrentItem( 0 ), mProgressDialog( progressDialog ),
mDelayTimer( 0 ), mBusyTimer( 0 )
{
m_bShowButton = button;
@@ -141,7 +141,7 @@ void StatusbarProgressWidget::updateBusyMode()
void StatusbarProgressWidget::slotProgressItemAdded( ProgressItem *item )
{
- if ( item->tqparent() )
+ if ( item->parent() )
return; // we are only interested in top level items
updateBusyMode();
@@ -149,7 +149,7 @@ void StatusbarProgressWidget::slotProgressItemAdded( ProgressItem *item )
void StatusbarProgressWidget::slotProgressItemCompleted( ProgressItem *item )
{
- if ( item->tqparent() ) return; // we are only interested in top level items
+ if ( item->parent() ) return; // we are only interested in top level items
connectSingleItem(); // if going back to 1 item
if ( ProgressManager::instance()->isEmpty() ) { // No item
// Done. In 5s the progress-widget will close, then we can clean up the statusbar