summaryrefslogtreecommitdiffstats
path: root/kdat
diff options
context:
space:
mode:
Diffstat (limited to 'kdat')
-rw-r--r--kdat/IndexDlg.cpp2
-rw-r--r--kdat/KDatMainWindow.cpp8
-rw-r--r--kdat/Options.cpp2
-rw-r--r--kdat/VerifyDlg.cpp4
4 files changed, 8 insertions, 8 deletions
diff --git a/kdat/IndexDlg.cpp b/kdat/IndexDlg.cpp
index b7abf1d..2ff3a93 100644
--- a/kdat/IndexDlg.cpp
+++ b/kdat/IndexDlg.cpp
@@ -299,7 +299,7 @@ void IndexDlg::timerEvent( TQTimerEvent* )
if ( elapsed > oldElapsed )
{
updateStats();
- TDEApplication::kApplication()->processEvents();
+ tdeApp->processEvents();
if ( _aborted ) {
break;
}
diff --git a/kdat/KDatMainWindow.cpp b/kdat/KDatMainWindow.cpp
index d47144f..48be0dc 100644
--- a/kdat/KDatMainWindow.cpp
+++ b/kdat/KDatMainWindow.cpp
@@ -961,7 +961,7 @@ void KDatMainWindow::fileDeleteBackupProfile()
void KDatMainWindow::fileQuit()
{
- TDEApplication::kApplication()->quit();
+ tdeApp->quit();
}
void KDatMainWindow::editPreferences()
@@ -972,7 +972,7 @@ void KDatMainWindow::editPreferences()
void KDatMainWindow::help()
{
- TDEApplication::kApplication()->invokeHelp( );
+ tdeApp->invokeHelp( );
}
void KDatMainWindow::setTapePresent( bool tapePresent, bool eject )
@@ -1023,7 +1023,7 @@ void KDatMainWindow::setTapePresent( bool tapePresent, bool eject )
void KDatMainWindow::status( const TQString & msg )
{
_statusBar->changeItem( msg, 0 );
- TDEApplication::kApplication()->processEvents();
+ tdeApp->processEvents();
}
void KDatMainWindow::show()
@@ -1106,7 +1106,7 @@ int KDatMainWindow::calcBackupSize( const TQString& workingDir, bool local, cons
.arg(Util::kbytesToString( size / 2 ))
.arg(KStringHandler::csqueeze(*path, 60));
status( msg );
- TDEApplication::kApplication()->processEvents();
+ tdeApp->processEvents();
dir.setPath( *path );
infoList = dir.entryInfoList( TQDir::Hidden | TQDir::Files | TQDir::Dirs, 0 );
if ( infoList ) {
diff --git a/kdat/Options.cpp b/kdat/Options.cpp
index 24ec02c..6cba56c 100644
--- a/kdat/Options.cpp
+++ b/kdat/Options.cpp
@@ -27,7 +27,7 @@ Options* Options::_instance = 0;
Options::Options()
{
- _config = TDEApplication::kApplication()->config();
+ _config = tdeApp->config();
_defaultTapeSize = _config->readNumEntry( "defaultTapeSize", 2*1024*1024 );
_tapeBlockSize = _config->readNumEntry( "tapeBlockSize", 20*512 ); // Use tar default.
diff --git a/kdat/VerifyDlg.cpp b/kdat/VerifyDlg.cpp
index 7d40493..9f162da 100644
--- a/kdat/VerifyDlg.cpp
+++ b/kdat/VerifyDlg.cpp
@@ -348,7 +348,7 @@ void VerifyDlg::timerEvent( TQTimerEvent* )
}
while ( ( !_done ) && ( !_aborted ) && ( !_wroteStdin ) )
- TDEApplication::kApplication()->processEvents();
+ tdeApp->processEvents();
if ( _done || _aborted ) {
/* 2002-01-30 LEW */
#ifdef DEBUG
@@ -367,7 +367,7 @@ void VerifyDlg::timerEvent( TQTimerEvent* )
if ( elapsed > oldElapsed )
{
updateStats();
- TDEApplication::kApplication()->processEvents();
+ tdeApp->processEvents();
if ( _done || _aborted ) {
break;
}