From e9368e5ab190b0fc0afe7f72e2b861b76b378b0c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 22 Jan 2025 17:47:04 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- src/kbibtexshell.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kbibtexshell.cpp') diff --git a/src/kbibtexshell.cpp b/src/kbibtexshell.cpp index b9b8153..e3195b3 100644 --- a/src/kbibtexshell.cpp +++ b/src/kbibtexshell.cpp @@ -74,8 +74,8 @@ KBibTeXShell::KBibTeXShell( TQWidget* parentWidget, const char* name ) // if we couldn't find our Part, we exit since the Shell by // itself can't do anything useful KMessageBox::error( this, i18n( "Could not find our part!" ) ); - kapp->quit(); - // we return here, cause kapp->quit() only means "exit the + tdeApp->quit(); + // we return here, cause tdeApp->quit() only means "exit the // next time we enter the event loop... return ; } @@ -154,13 +154,13 @@ void KBibTeXShell::writeConfig( TDEConfig *config ) void KBibTeXShell::readConfig() { - TDEConfig * config = kapp->config(); + TDEConfig * config = tdeApp->config(); readConfig( config ); } void KBibTeXShell::writeConfig() { - TDEConfig * config = kapp->config(); + TDEConfig * config = tdeApp->config(); writeConfig( config ); } @@ -189,7 +189,7 @@ void KBibTeXShell::setupActions() action = KStdAction::close( this, TQ_SLOT( slotFileClose() ), actionCollection() ); action->setToolTip( i18n( "Close this KBibTeX window" ) ); - // action = KStdAction::quit( kapp, TQ_SLOT( closeAllWindows() ), actionCollection() ); + // action = KStdAction::quit( tdeApp, TQ_SLOT( closeAllWindows() ), actionCollection() ); // action->setToolTip( i18n( "Close all windows and quit KBibTeX" ) ); m_statusbarAction = KStdAction::showStatusbar( this, TQ_SLOT( optionsShowStatusbar() ), actionCollection() ); -- cgit v1.2.3