diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-22 18:06:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-03 23:01:10 +0900 |
commit | a1169ddf04628c0e3c3fcfbfa83f0d3df4512fc7 (patch) | |
tree | 4912d69e025e1d7e6ad08070b66b7dd23570f479 /src/k3bjobprogressdialog.cpp | |
parent | e65868ce1125ff4eec7d22e5ef767ce7168bea78 (diff) | |
download | k3b-a1169ddf04628c0e3c3fcfbfa83f0d3df4512fc7.tar.gz k3b-a1169ddf04628c0e3c3fcfbfa83f0d3df4512fc7.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/k3bjobprogressdialog.cpp')
-rw-r--r-- | src/k3bjobprogressdialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/k3bjobprogressdialog.cpp b/src/k3bjobprogressdialog.cpp index 0f1dee2..6378d45 100644 --- a/src/k3bjobprogressdialog.cpp +++ b/src/k3bjobprogressdialog.cpp @@ -256,7 +256,7 @@ void K3bJobProgressDialog::setupGUI() connect( k3bappcore->themeManager(), TQ_SIGNAL(themeChanged()), this, TQ_SLOT(slotThemeChanged()) ); - connect( kapp, TQ_SIGNAL(appearanceChanged()), + connect( tdeApp, TQ_SIGNAL(appearanceChanged()), this, TQ_SLOT(slotThemeChanged()) ); } @@ -264,7 +264,7 @@ void K3bJobProgressDialog::setupGUI() void K3bJobProgressDialog::show() { if( TDEConfigGroup( k3bcore->config(), "General Options" ).readBoolEntry( "hide main window while writing", false ) ) - if( TQWidget* w = kapp->mainWidget() ) + if( TQWidget* w = tdeApp->mainWidget() ) w->hide(); if( m_osd ) { @@ -287,16 +287,16 @@ void K3bJobProgressDialog::closeEvent( TQCloseEvent* e ) { if( m_buttonClose->isVisible() ) { KDialog::closeEvent( e ); - if( TQWidget* w = kapp->mainWidget() ) + if( TQWidget* w = tdeApp->mainWidget() ) w->show(); if( !m_plainCaption.isEmpty() ) - if( TDEMainWindow* w = dynamic_cast<TDEMainWindow*>(kapp->mainWidget()) ) + if( TDEMainWindow* w = dynamic_cast<TDEMainWindow*>(tdeApp->mainWidget()) ) w->setPlainCaption( m_plainCaption ); if( m_osd ) { m_osd->hide(); - m_osd->saveSettings( kapp->config() ); + m_osd->saveSettings( tdeApp->config() ); } } else @@ -504,7 +504,7 @@ void K3bJobProgressDialog::slotStarted() d->lastProgress = 0; m_timer->start( 1000 ); m_startTime = TQTime::currentTime(); - if( TDEMainWindow* w = dynamic_cast<TDEMainWindow*>(kapp->mainWidget()) ) + if( TDEMainWindow* w = dynamic_cast<TDEMainWindow*>(tdeApp->mainWidget()) ) m_plainCaption = w->caption(); m_logFile.open(); @@ -545,7 +545,7 @@ void K3bJobProgressDialog::slotProgress( int percent ) if( percent > d->lastProgress ) { d->lastProgress = percent; m_lastProgressUpdateTime = TQTime::currentTime(); - if( TDEMainWindow* w = dynamic_cast<TDEMainWindow*>(kapp->mainWidget()) ) { + if( TDEMainWindow* w = dynamic_cast<TDEMainWindow*>(tdeApp->mainWidget()) ) { w->setPlainCaption( TQString( "(%1%) %2" ).arg(percent).arg(m_plainCaption) ); } |