diff options
-rw-r--r-- | yakuake/src/main_window.cpp | 14 |
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(); } |