summaryrefslogtreecommitdiffstats
path: root/starter
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-22 18:47:38 +0900
committerMichele Calgaro <[email protected]>2025-01-22 18:47:38 +0900
commitadbbe74d474f448a26e0a3d5bbbca736f8797db2 (patch)
tree37c2ba69ae22dd01386beb739137e0085c4b970e /starter
parent16f76459cadb934a0e6aea05af65f80538415290 (diff)
downloadtde-style-baghira-master.tar.gz
tde-style-baghira-master.zip
Use tdeAppHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'starter')
-rw-r--r--starter/menu.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/starter/menu.cpp b/starter/menu.cpp
index d923210..2dc12e6 100644
--- a/starter/menu.cpp
+++ b/starter/menu.cpp
@@ -1771,7 +1771,7 @@ StartMenu::StartMenu( int size, TQWidget * parent, WFlags f ) : TQWidget(parent,
connect (searchLine, TQ_SIGNAL(focusedIn()), this, TQ_SLOT(searchLineFocused()));
connect (appList, TQ_SIGNAL(looseKey()), searchLine, TQ_SLOT(setFocus()));
connect (appList, TQ_SIGNAL(looseKey()), searchLine, TQ_SLOT(selectAll() ));
- connect (kapp, TQ_SIGNAL(shutDown()), this, TQ_SLOT(save() ));
+ connect (tdeApp, TQ_SIGNAL(shutDown()), this, TQ_SLOT(save() ));
if (useKTTS) connect (appList, TQ_SIGNAL(sayText(const TQString&)), this, TQ_SLOT(sayText(const TQString&) ));
centerLayout->addWidget(appList,10);
@@ -1821,7 +1821,7 @@ void StartMenu::slotLock()
TQCString appname( "kdesktop" );
// if ( kicker_screen_number )
// appname.sprintf("kdesktop-screen-%d", kicker_screen_number);
- kapp->dcopClient()->send(appname, "KScreensaverIface", "lock()", "");
+ tdeApp->dcopClient()->send(appname, "KScreensaverIface", "lock()", "");
}
#endif
@@ -1909,14 +1909,14 @@ void StartMenu::sayText(const TQString &text)
TQByteArray data1;
TQDataStream arg1(data1, IO_WriteOnly);
arg1 << m_spokenText; // stop what we messaged before (if)
- if (!kapp->dcopClient()->send("kttsd", "kspeech", "stopText(uint)", data1))
+ if (!tdeApp->dcopClient()->send("kttsd", "kspeech", "stopText(uint)", data1))
tqDebug("there was some error using DCOP.");
TQByteArray data, replyData;
TQCString replyType;
TQDataStream arg(data, IO_WriteOnly);
arg << cleanText << ""; // ask for the full list
- if (!kapp->dcopClient()->call("kttsd", "kspeech", "sayText(TQString, TQString)", data, replyType, replyData))
+ if (!tdeApp->dcopClient()->call("kttsd", "kspeech", "sayText(TQString, TQString)", data, replyType, replyData))
tqDebug("there was some error using DCOP.");
else
{
@@ -2034,7 +2034,7 @@ void StartMenu::execute(const TQString& command)
history.append(command); // all - the list is not stored and the user may want to easily correct mistypes of LOOOOOOOOOOOOOOOOOOOONG commands with a lot of "\ "... ;P
TQString exec;
- kapp->propagateSessionManager();
+ tdeApp->propagateSessionManager();
_filterData->setData( command.stripWhiteSpace() );
TQStringList filters;
@@ -2051,7 +2051,7 @@ void StartMenu::execute(const TQString& command)
else if (cmd == "logout")
{
close();
- kapp->requestShutDown();
+ tdeApp->requestShutDown();
}
else
{