summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-21 11:34:37 +0900
committerMichele Calgaro <[email protected]>2025-01-21 11:34:37 +0900
commitd8117390cb70db075c4ee77b2f2f0abf314074b8 (patch)
treef0eccadcd44cb6f566cbeba181c048ab4185aa10
parent4eda50db5636cc0c9cc4200b44e26196bd986da0 (diff)
downloadyakuake-rename/tdeapp.tar.gz
yakuake-rename/tdeapp.zip
Use tdeApprename/tdeapp
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--yakuake/src/main_window.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/yakuake/src/main_window.cpp b/yakuake/src/main_window.cpp
index 0592307..513bd21 100644
--- a/yakuake/src/main_window.cpp
+++ b/yakuake/src/main_window.cpp
@@ -49,16 +49,16 @@ MainWindow::MainWindow(TQWidget * parent, const char * name) :
widgets_stack = new TQWidgetStack(this);
// Register with DCOP.
- if (!kapp->dcopClient()->isRegistered())
+ if (!tdeApp->dcopClient()->isRegistered())
{
- kapp->dcopClient()->registerAs("dcopinterface");
- kapp->dcopClient()->setDefaultObject(objId());
+ tdeApp->dcopClient()->registerAs("dcopinterface");
+ tdeApp->dcopClient()->setDefaultObject(objId());
}
// KRootPixmap::isAvailable() is unreliable, so we check
// for kdesktop's presence ourselves to decide whether or
// not to disable pseudo-translucency.
- if (Settings::translucency() && kapp->dcopClient()->isApplicationRegistered("kdesktop"))
+ if (Settings::translucency() && tdeApp->dcopClient()->isApplicationRegistered("kdesktop"))
use_translucency = true;
// Revert to default skin if selected skin can't be located.
@@ -205,11 +205,11 @@ MainWindow::MainWindow(TQWidget * parent, const char * name) :
// Add first session.
slotAddSession();
- connect(kapp, TQ_SIGNAL(aboutToQuit()), this, TQ_SLOT(slotAboutToQuit()));
+ connect(tdeApp, TQ_SIGNAL(aboutToQuit()), this, TQ_SLOT(slotAboutToQuit()));
// No need for this if we're not going to use pseudo-translucency.
if (use_translucency)
- connect(kapp, TQ_SIGNAL(backgroundChanged(int)), this, TQ_SLOT(slotUpdateBackgroundState()));
+ connect(tdeApp, TQ_SIGNAL(backgroundChanged(int)), this, TQ_SLOT(slotUpdateBackgroundState()));
connect(tab_bar, TQ_SIGNAL(addItem()), this, TQ_SLOT(slotAddSession()));
connect(tab_bar, TQ_SIGNAL(removeItem()), this, TQ_SLOT(slotRemoveSession()));
@@ -324,7 +324,7 @@ void MainWindow::showPopup(const TQString& text, int time)
{
/* Show a passive popup with the given text. */
- popup.setView(i18n("Yakuake Notification"), text, TDEApplication::kApplication()->miniIcon());
+ popup.setView(i18n("Yakuake Notification"), text, tdeApp->miniIcon());
popup.setTimeout(time);
popup.show();
}