From 46850422d6f857317455a6f7682bda9af4ba77f8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 21:46:38 -0600 Subject: Rename additional instances of KDE to TDE --- tdesu/Makefile.am | 2 +- tdesu/client.h | 2 +- tdesu/kcookie.h | 2 +- tdesu/process.cpp | 4 ++-- tdesu/process.h | 2 +- tdesu/ssh.h | 2 +- tdesu/stub.h | 2 +- tdesu/su.h | 2 +- tdesu/tdesu_pty.h | 2 +- tdesu/tdesu_stub.c | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) (limited to 'tdesu') diff --git a/tdesu/Makefile.am b/tdesu/Makefile.am index 847a21ee1..926f3df5d 100644 --- a/tdesu/Makefile.am +++ b/tdesu/Makefile.am @@ -5,7 +5,7 @@ INCLUDES = -I$(top_srcdir)/kio/ $(all_includes) lib_LTLIBRARIES = libtdesu.la libtdesu_la_SOURCES = client.cpp process.cpp kcookie.cpp su.cpp ssh.cpp stub.cpp tdesu_pty.cpp libtdesu_la_LDFLAGS = -version-info 6:0:2 -no-undefined $(all_libraries) -libtdesu_la_LIBADD = $(LIB_KDECORE) $(LIB_QT) $(top_builddir)/dcop/libDCOP.la +libtdesu_la_LIBADD = $(LIB_TDECORE) $(LIB_QT) $(top_builddir)/dcop/libDCOP.la libtdesu_la_NMCHECK = $(srcdir)/libtdesu.nmcheck libtdesu_la_NMCHECKWEAK = $(srcdir)/libtdesu_weak.nmcheck $(top_srcdir)/tdecore/libtdecore_weak.nmcheck \ $(top_srcdir)/dcop/libDCOP_weak.nmcheck $(top_srcdir)/tdecore/libqt-mt_weak.nmcheck diff --git a/tdesu/client.h b/tdesu/client.h index 420d5dadd..def5c25e6 100644 --- a/tdesu/client.h +++ b/tdesu/client.h @@ -47,7 +47,7 @@ typedef TQValueList QCStringList; * See setVar, delVar, delGroup. */ -class KDESU_EXPORT KDEsuClient { +class TDESU_EXPORT KDEsuClient { public: KDEsuClient(); ~KDEsuClient(); diff --git a/tdesu/kcookie.h b/tdesu/kcookie.h index 713922011..4f63ebdb7 100644 --- a/tdesu/kcookie.h +++ b/tdesu/kcookie.h @@ -24,7 +24,7 @@ typedef TQValueList QCStringList; * program (X11 and DCOP cookies). */ -class KDESU_EXPORT KCookie +class TDESU_EXPORT KCookie { public: KCookie(); diff --git a/tdesu/process.cpp b/tdesu/process.cpp index d52308f63..09deda5bf 100644 --- a/tdesu/process.cpp +++ b/tdesu/process.cpp @@ -363,9 +363,9 @@ int PtyProcess::exec(const TQCString &command, const QCStringList &args) // set temporarily LC_ALL to C, for su (to be able to parse "Password:") const char* old_lc_all = getenv( "LC_ALL" ); if( old_lc_all != NULL ) - setenv( "KDESU_LC_ALL", old_lc_all, 1 ); + setenv( "TDESU_LC_ALL", old_lc_all, 1 ); else - unsetenv( "KDESU_LC_ALL" ); + unsetenv( "TDESU_LC_ALL" ); setenv("LC_ALL", "C", 1); // From now on, terminal output goes through the tty. diff --git a/tdesu/process.h b/tdesu/process.h index ec3af9a62..a6ac77dc7 100644 --- a/tdesu/process.h +++ b/tdesu/process.h @@ -33,7 +33,7 @@ typedef TQValueList QCStringList; * This means that programs which require a terminal will work. */ -class KDESU_EXPORT PtyProcess +class TDESU_EXPORT PtyProcess { public: PtyProcess(); diff --git a/tdesu/ssh.h b/tdesu/ssh.h index c84c56d02..65787de71 100644 --- a/tdesu/ssh.h +++ b/tdesu/ssh.h @@ -23,7 +23,7 @@ * Executes a remote command, using ssh. */ -class KDESU_EXPORT SshProcess: public StubProcess +class TDESU_EXPORT SshProcess: public StubProcess { public: SshProcess(const TQCString &host=0, const TQCString &user=0, const TQCString &command=0); diff --git a/tdesu/stub.h b/tdesu/stub.h index 8bfc70a7f..1281c5512 100644 --- a/tdesu/stub.h +++ b/tdesu/stub.h @@ -29,7 +29,7 @@ typedef TQValueList QCStringList; * StubProcess extends PtyProcess with functionality to chat with tdesu_stub. */ -class KDESU_EXPORT StubProcess: public PtyProcess +class TDESU_EXPORT StubProcess: public PtyProcess { public: StubProcess(); diff --git a/tdesu/su.h b/tdesu/su.h index dcb67a14c..edf1bb75e 100644 --- a/tdesu/su.h +++ b/tdesu/su.h @@ -23,7 +23,7 @@ * Executes a command under elevated privileges, using su. */ -class KDESU_EXPORT SuProcess: public StubProcess +class TDESU_EXPORT SuProcess: public StubProcess { public: SuProcess(const TQCString &user=0, const TQCString &command=0); diff --git a/tdesu/tdesu_pty.h b/tdesu/tdesu_pty.h index 1dab49dcb..4b5c5a9f4 100644 --- a/tdesu/tdesu_pty.h +++ b/tdesu/tdesu_pty.h @@ -22,7 +22,7 @@ #include -class KDESU_EXPORT PTY { +class TDESU_EXPORT PTY { public: /** diff --git a/tdesu/tdesu_stub.c b/tdesu/tdesu_stub.c index 5e1f09c24..f8054a313 100644 --- a/tdesu/tdesu_stub.c +++ b/tdesu/tdesu_stub.c @@ -237,7 +237,7 @@ int main() xsetenv("PATH", params[P_PATH].value); xsetenv("DESKTOP_STARTUP_ID", params[P_APP_STARTUP_ID].value); - tdesu_lc_all = getenv( "KDESU_LC_ALL" ); + tdesu_lc_all = getenv( "TDESU_LC_ALL" ); if( tdesu_lc_all != NULL ) xsetenv("LC_ALL",tdesu_lc_all); else -- cgit v1.2.3