diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-22 17:47:04 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-22 17:47:04 +0900 |
commit | e9368e5ab190b0fc0afe7f72e2b861b76b378b0c (patch) | |
tree | cee4c09c0f072f4e4cc42ea71e4530e74fdee45d /src/kbibtexshell.cpp | |
parent | 3edb5122de3bf99176c5bd204166c0c1c654062b (diff) | |
download | kbibtex-e9368e5ab190b0fc0afe7f72e2b861b76b378b0c.tar.gz kbibtex-e9368e5ab190b0fc0afe7f72e2b861b76b378b0c.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kbibtexshell.cpp')
-rw-r--r-- | src/kbibtexshell.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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() ); |