summaryrefslogtreecommitdiffstats
path: root/kcron/ctcron.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcron/ctcron.cpp')
-rw-r--r--kcron/ctcron.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kcron/ctcron.cpp b/kcron/ctcron.cpp
index bcc51e4..58d389a 100644
--- a/kcron/ctcron.cpp
+++ b/kcron/ctcron.cpp
@@ -9,7 +9,7 @@
* (at your option) any later version. *
***************************************************************************/
-// Do not introduce any Qt or KDE dependencies into the "CT"-prefixed classes.
+// Do not introduce any TQt or KDE dependencies into the "CT"-prefixed classes.
// I want to be able to reuse these classes with another GUI toolkit. -GM 11/99
#include "ctcron.h"
@@ -60,7 +60,7 @@ CTCron::CTCron(bool _syscron, string _login) :
writeCommand = TQString("crontab -u ") + _login.c_str() + " " + KProcess::quote(tmpFileName);
if (!initFromPasswd(getpwnam(_login.c_str())))
{
- error = i18n("No password entry found for user '%1'").arg(_login.c_str());
+ error = i18n("No password entry found for user '%1'").tqarg(_login.c_str());
}
}
}
@@ -71,7 +71,7 @@ CTCron::CTCron(bool _syscron, string _login) :
writeCommand = "crontab " + KProcess::quote(tmpFileName);
if (!initFromPasswd(getpwuid(uid)))
{
- error = i18n("No password entry found for uid '%1'").arg(uid);
+ error = i18n("No password entry found for uid '%1'").tqarg(uid);
}
}
@@ -178,7 +178,7 @@ istream& operator >> (istream& inputStream, CTCron& cron)
if ((line.find("#") == 0) && (line.find("\\") != 1))
{
// If the first 10 characters don't contain a character, it's probably a disabled entry.
- int first_text = line.find_first_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");
+ int first_text = line.find_first_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ");
if (first_text < 0)
continue;