summaryrefslogtreecommitdiffstats
path: root/tdesu
diff options
context:
space:
mode:
Diffstat (limited to 'tdesu')
-rw-r--r--tdesu/ChangeLog2
-rw-r--r--tdesu/tdesu/tdesu.cpp10
-rw-r--r--tdesu/tdesud/secure.cpp4
-rw-r--r--tdesu/tdesud/tdesud.cpp4
4 files changed, 10 insertions, 10 deletions
diff --git a/tdesu/ChangeLog b/tdesu/ChangeLog
index f9bd05eb5..3d01f2e01 100644
--- a/tdesu/ChangeLog
+++ b/tdesu/ChangeLog
@@ -50,7 +50,7 @@ Wed, 8 Sep 99 Geert Jansen <g.t.jansen@stud.tue.nl>
Wed, 1 Sep 99 Geert Jansen <g.t.jansen@stud.tue.nl>
- * Deferred instantiation of kapp in tdesu.cpp.
+ * Deferred instantiation of tdeApp in tdesu.cpp.
* Finished porting to KDE2.
Sun, 29 Aug 99 Geert Jansen <g.t.jansen@stud.tue.nl>
diff --git a/tdesu/tdesu/tdesu.cpp b/tdesu/tdesu/tdesu.cpp
index b36b0513b..b5c75471d 100644
--- a/tdesu/tdesu/tdesu.cpp
+++ b/tdesu/tdesu/tdesu.cpp
@@ -30,7 +30,7 @@
#include <kdebug.h>
#include <tdeglobal.h>
#include <tdeapplication.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tdelocale.h>
#include <tdeaboutdata.h>
@@ -121,7 +121,7 @@ int main(int argc, char *argv[])
{
TDEStartupInfoId id;
- id.initId( kapp->startupId());
+ id.initId( tdeApp->startupId());
id.setupStartupEnv(); // make DESKTOP_STARTUP_ID env. var. available again
}
@@ -272,7 +272,7 @@ static int startApp()
QCStringList env;
TQCString options;
- env << ( "DESKTOP_STARTUP_ID=" + kapp->startupId());
+ env << ( "DESKTOP_STARTUP_ID=" + tdeApp->startupId());
if (pw->pw_uid)
{
@@ -348,7 +348,7 @@ static int startApp()
if (needpw)
{
TDEStartupInfoId id;
- id.initId( kapp->startupId());
+ id.initId( tdeApp->startupId());
TDEStartupInfoData data;
data.setSilent( TDEStartupInfoData::Yes );
TDEStartupInfo::sendChange( id, data );
@@ -380,7 +380,7 @@ static int startApp()
}
// Some events may need to be handled (like a button animation)
- kapp->processEvents();
+ tdeApp->processEvents();
// Run command
if (!change_uid)
diff --git a/tdesu/tdesud/secure.cpp b/tdesu/tdesud/secure.cpp
index dd778575e..e6a6c65c8 100644
--- a/tdesu/tdesud/secure.cpp
+++ b/tdesu/tdesud/secure.cpp
@@ -63,12 +63,12 @@ SocketSecurity::SocketSecurity(int sockfd)
SocketSecurity::SocketSecurity(int sockfd)
{
- static bool warned_him = FALSE;
+ static bool warned_him = false;
if (!warned_him) {
kdWarning() << "Using void socket security. Please add support for your" << endl;
kdWarning() << "platform to tdesu/tdesud/secure.cpp" << endl;
- warned_him = TRUE;
+ warned_him = true;
}
// This passes the test made in handler.cpp
diff --git a/tdesu/tdesud/tdesud.cpp b/tdesu/tdesud/tdesud.cpp
index 950bb91b4..8bef2cfac 100644
--- a/tdesu/tdesud/tdesud.cpp
+++ b/tdesu/tdesud/tdesud.cpp
@@ -64,11 +64,11 @@
#include <tqfile.h>
#include <tqregexp.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <kdebug.h>
#include <tdelocale.h>
#include <tdecmdlineargs.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeaboutdata.h>
#include <tdesu/client.h>
#include <tdesu/defaults.h>