From d3afa6baf98ef5ac191996cc9b909ff9074c168c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:28:26 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- tdesu/client.cpp | 2 +- tdesu/process.cpp | 2 +- tdesu/tdesu_pty.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tdesu') diff --git a/tdesu/client.cpp b/tdesu/client.cpp index cbdc640e6..8eaf86af8 100644 --- a/tdesu/client.cpp +++ b/tdesu/client.cpp @@ -389,7 +389,7 @@ static TQString findDaemon() { TQString daemon = locate("bin", "tdesud"); if (daemon.isEmpty()) // if not in TDEDIRS, rely on PATH - daemon = KStandardDirs::findExe("tdesud"); + daemon = TDEStandardDirs::findExe("tdesud"); if (daemon.isEmpty()) { diff --git a/tdesu/process.cpp b/tdesu/process.cpp index a8d2478a5..28e3bb110 100644 --- a/tdesu/process.cpp +++ b/tdesu/process.cpp @@ -375,7 +375,7 @@ int PtyProcess::exec(const TQCString &command, const QCStringList &args) path = command; else { - TQString file = KStandardDirs::findExe(command); + TQString file = TDEStandardDirs::findExe(command); if (file.isEmpty()) { kdError(900) << k_lineinfo << command << " not found\n"; diff --git a/tdesu/tdesu_pty.cpp b/tdesu/tdesu_pty.cpp index d3392ec5e..207c0a3e2 100644 --- a/tdesu/tdesu_pty.cpp +++ b/tdesu/tdesu_pty.cpp @@ -214,7 +214,7 @@ int PTY::grantpt() return 0; // Use konsole_grantpty: - if (KStandardDirs::findExe("konsole_grantpty").isEmpty()) + if (TDEStandardDirs::findExe("konsole_grantpty").isEmpty()) { kdError(900) << k_lineinfo << "konsole_grantpty not found.\n"; return -1; -- cgit v1.2.1