diff options
author | Michele Calgaro <[email protected]> | 2025-01-21 14:25:02 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-21 14:25:02 +0900 |
commit | a162a4515bdc59f7b9cbedf216d433c67e508b06 (patch) | |
tree | d6201bcb6a1147c3fdc678efeb1e4c44629e7679 /src/tdesvn.cpp | |
parent | ff23b63144c6f8d27fbefb9c098155c769719d58 (diff) | |
download | tdesvn-a162a4515bdc59f7b9cbedf216d433c67e508b06.tar.gz tdesvn-a162a4515bdc59f7b9cbedf216d433c67e508b06.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tdesvn.cpp')
-rw-r--r-- | src/tdesvn.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tdesvn.cpp b/src/tdesvn.cpp index f90dfb9..6795964 100644 --- a/src/tdesvn.cpp +++ b/src/tdesvn.cpp @@ -107,7 +107,7 @@ tdesvn::tdesvn() if (TQCString(factory->className())!="cFactory") { kdDebug()<<"wrong factory"<<endl; KMessageBox::error(this, i18n("Could not find our part")); - kapp->quit(); + tdeApp->quit(); return; } cFactory*cfa = static_cast<cFactory*>(factory); @@ -149,7 +149,7 @@ tdesvn::tdesvn() connectActionCollection(m_part->actionCollection()); } else { KMessageBox::error(this, i18n("Could not load the part:\n")+KLibLoader::self()->lastErrorMessage()); - kapp->quit(); + tdeApp->quit(); return; } } @@ -158,8 +158,8 @@ tdesvn::tdesvn() // 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")+TQString(":\n")+KLibLoader::self()->lastErrorMessage()); - 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; } @@ -224,7 +224,7 @@ void tdesvn::setupActions() KStdAction::openNew(this,TQ_SLOT(fileNew()),actionCollection()); ac = KStdAction::close(this,TQ_SLOT(fileClose()),actionCollection()); ac->setEnabled(getMemberList()->count()>1); - KStdAction::quit(kapp, TQ_SLOT(quit()), actionCollection()); + KStdAction::quit(tdeApp, TQ_SLOT(quit()), actionCollection()); TDERecentFilesAction*rac = KStdAction::openRecent(this,TQ_SLOT(loadRescent(const KURL&)),actionCollection()); if (rac) |