From bd28b782b7033c3fe0d4b3a71f10206155414f7e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 20 Jan 2025 17:21:29 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- kdat/KDatMainWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kdat/KDatMainWindow.cpp') 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 ) { -- cgit v1.2.3