diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:40:58 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:40:58 -0600 |
commit | 5f444a9ea966b68991cef44d2711378ef9ff406d (patch) | |
tree | 07f06257228437d61e24ef7ebe530d365c4ee54c /kcron/ctcron.cpp | |
parent | 91f62a5883c34899da0137e71f74ceb5c17fc799 (diff) | |
download | tdeadmin-5f444a9ea966b68991cef44d2711378ef9ff406d.tar.gz tdeadmin-5f444a9ea966b68991cef44d2711378ef9ff406d.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kcron/ctcron.cpp')
-rw-r--r-- | kcron/ctcron.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kcron/ctcron.cpp b/kcron/ctcron.cpp index f5cb04c..538ec34 100644 --- a/kcron/ctcron.cpp +++ b/kcron/ctcron.cpp @@ -49,15 +49,15 @@ CTCron::CTCron(bool _syscron, string _login) : { if (syscron) { - readCommand = "cat /etc/crontab > " + KProcess::quote(tmpFileName); - writeCommand = "cat " + KProcess::quote(tmpFileName) + " > /etc/crontab"; + readCommand = "cat /etc/crontab > " + TDEProcess::quote(tmpFileName); + writeCommand = "cat " + TDEProcess::quote(tmpFileName) + " > /etc/crontab"; login = (const char *)i18n("(System Crontab)").local8Bit(); name = ""; } else { - readCommand = TQString("crontab -u ") + _login.c_str() + " -l > " + KProcess::quote(tmpFileName); - writeCommand = TQString("crontab -u ") + _login.c_str() + " " + KProcess::quote(tmpFileName); + readCommand = TQString("crontab -u ") + _login.c_str() + " -l > " + TDEProcess::quote(tmpFileName); + writeCommand = TQString("crontab -u ") + _login.c_str() + " " + TDEProcess::quote(tmpFileName); if (!initFromPasswd(getpwnam(_login.c_str()))) { error = i18n("No password entry found for user '%1'").arg(_login.c_str()); @@ -67,8 +67,8 @@ CTCron::CTCron(bool _syscron, string _login) : else // regular user, so provide user's own crontab { - readCommand = "crontab -l > " + KProcess::quote(tmpFileName); - writeCommand = "crontab " + KProcess::quote(tmpFileName); + readCommand = "crontab -l > " + TDEProcess::quote(tmpFileName); + writeCommand = "crontab " + TDEProcess::quote(tmpFileName); if (!initFromPasswd(getpwuid(uid))) { error = i18n("No password entry found for uid '%1'").arg(uid); @@ -106,8 +106,8 @@ CTCron::CTCron(const struct passwd *pwd) : tmp.close(); tmpFileName = tmp.name(); - TQString readCommand = TQString("crontab -u ") + TQString(pwd->pw_name) + " -l > " + KProcess::quote(tmpFileName); - writeCommand = TQString("crontab -u ") + TQString(pwd->pw_name) + " " + KProcess::quote(tmpFileName); + TQString readCommand = TQString("crontab -u ") + TQString(pwd->pw_name) + " -l > " + TDEProcess::quote(tmpFileName); + writeCommand = TQString("crontab -u ") + TQString(pwd->pw_name) + " " + TDEProcess::quote(tmpFileName); initFromPasswd(pwd); |