summaryrefslogtreecommitdiffstats
path: root/juk/juk.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-20 17:21:38 +0900
committerMichele Calgaro <[email protected]>2025-02-03 21:39:44 +0900
commit52fb3a0dd7d190b83257b86738b313a02868d133 (patch)
treead5e6f9e72e0ea0820861a05c185e11ae39edcf3 /juk/juk.cpp
parent4767a3730d12a9e9f2d428d46da80467d73e5015 (diff)
downloadtdemultimedia-52fb3a0dd7d190b83257b86738b313a02868d133.tar.gz
tdemultimedia-52fb3a0dd7d190b83257b86738b313a02868d133.zip
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'juk/juk.cpp')
-rw-r--r--juk/juk.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/juk/juk.cpp b/juk/juk.cpp
index ad35266c..fd987501 100644
--- a/juk/juk.cpp
+++ b/juk/juk.cpp
@@ -54,7 +54,7 @@ JuK::JuK(TQWidget *parent, const char *name) :
if(m_showSplash && !m_startDocked && Cache::cacheFileExists()) {
SplashScreen::instance()->show();
- kapp->processEvents();
+ tdeApp->processEvents();
}
setupActions();
@@ -114,13 +114,13 @@ void JuK::setupActions()
KStdAction::quit(this, TQ_SLOT(slotQuit()), ActionCollection::actions());
KStdAction::undo(this, TQ_SLOT(slotUndo()), ActionCollection::actions());
- KStdAction::cut(kapp, TQ_SLOT(cut()), ActionCollection::actions());
- KStdAction::copy(kapp, TQ_SLOT(copy()), ActionCollection::actions());
- KStdAction::paste(kapp, TQ_SLOT(paste()), ActionCollection::actions());
- KStdAction::clear(kapp, TQ_SLOT(clear()), ActionCollection::actions());
- KStdAction::selectAll(kapp, TQ_SLOT(selectAll()), ActionCollection::actions());
+ KStdAction::cut(tdeApp, TQ_SLOT(cut()), ActionCollection::actions());
+ KStdAction::copy(tdeApp, TQ_SLOT(copy()), ActionCollection::actions());
+ KStdAction::paste(tdeApp, TQ_SLOT(paste()), ActionCollection::actions());
+ KStdAction::clear(tdeApp, TQ_SLOT(clear()), ActionCollection::actions());
+ KStdAction::selectAll(tdeApp, TQ_SLOT(selectAll()), ActionCollection::actions());
- new TDEAction(i18n("Remove From Playlist"), "edit_remove", 0, kapp, TQ_SLOT(clear()), ActionCollection::actions(), "removeFromPlaylist");
+ new TDEAction(i18n("Remove From Playlist"), "edit_remove", 0, tdeApp, TQ_SLOT(clear()), ActionCollection::actions(), "removeFromPlaylist");
TDEActionMenu *actionMenu = new TDEActionMenu(i18n("&Random Play"), "roll", ActionCollection::actions(), "actionMenu");
actionMenu->setDelayed(false);
@@ -257,7 +257,7 @@ void JuK::slotProcessArgs()
void JuK::createDirs()
{
- TQDir dir(TDEGlobal::dirs()->saveLocation("data", kapp->instanceName() + '/'));
+ TQDir dir(TDEGlobal::dirs()->saveLocation("data", tdeApp->instanceName() + '/'));
if (!dir.exists("covers", false))
dir.mkdir("covers", false);
dir.cd("covers");
@@ -391,7 +391,7 @@ bool JuK::queryClose()
kdDebug(65432) << k_funcinfo << endl;
if(!m_shuttingDown &&
- !kapp->sessionSaving() &&
+ !tdeApp->sessionSaving() &&
m_systemTray &&
m_toggleDockOnCloseAction->isChecked())
{
@@ -425,7 +425,7 @@ void JuK::slotQuit()
kdDebug(65432) << k_funcinfo << endl;
m_shuttingDown = true;
- kapp->quit();
+ tdeApp->quit();
}
////////////////////////////////////////////////////////////////////////////////