summaryrefslogtreecommitdiffstats
path: root/krename/ProgressDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krename/ProgressDialog.cpp')
-rw-r--r--krename/ProgressDialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/krename/ProgressDialog.cpp b/krename/ProgressDialog.cpp
index 1a07d72..489ac77 100644
--- a/krename/ProgressDialog.cpp
+++ b/krename/ProgressDialog.cpp
@@ -135,7 +135,7 @@ void ProgressDialog::print( TQString text, TQString pixmap )
{
if( !m_timer->isActive() )
{
- KApplication::setOverrideCursor( TQt::waitCursor );
+ TDEApplication::setOverrideCursor( TQt::waitCursor );
m_timer->start( TIMER_INTERVAL );
}
@@ -152,7 +152,7 @@ void ProgressDialog::error( TQString text )
{
if( !m_timer->isActive() )
{
- KApplication::setOverrideCursor( TQt::waitCursor );
+ TDEApplication::setOverrideCursor( TQt::waitCursor );
m_timer->start( TIMER_INTERVAL );
}
@@ -166,7 +166,7 @@ void ProgressDialog::warning( TQString text )
{
if( !m_timer->isActive() )
{
- KApplication::setOverrideCursor( TQt::waitCursor );
+ TDEApplication::setOverrideCursor( TQt::waitCursor );
m_timer->start( TIMER_INTERVAL );
}
@@ -177,13 +177,13 @@ void ProgressDialog::warning( TQString text )
void ProgressDialog::quitAll()
{
- KApplication::exit(0);
+ TDEApplication::exit(0);
}
void ProgressDialog::done( int errors, int successfull, bool allowundo )
{
m_timer->stop();
- KApplication::restoreOverrideCursor();
+ TDEApplication::restoreOverrideCursor();
display->setUpdatesEnabled( true );
display->setSorting( 1, true );
@@ -301,7 +301,7 @@ void ProgressDialog::undo()
FileOperation fop;
m_timer->start( TIMER_INTERVAL );
- KApplication::setOverrideCursor( TQt::waitCursor );
+ TDEApplication::setOverrideCursor( TQt::waitCursor );
for( unsigned int i = 0; i < m_size; i++ )
{
setProgress( i );
@@ -339,7 +339,7 @@ void ProgressDialog::undo()
print( i18n("Undoing the renaming operation has been completed."), "undo" );
m_timer->stop();
- KApplication::restoreOverrideCursor();
+ TDEApplication::restoreOverrideCursor();
TQWidget* krename = KRenameImpl::launch( TQRect( 0, 0, 0, 0 ), list );
krename->show();