summaryrefslogtreecommitdiffstats
path: root/kuser/kuser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kuser/kuser.cpp')
-rw-r--r--kuser/kuser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kuser/kuser.cpp b/kuser/kuser.cpp
index cfd3e49..6369ee7 100644
--- a/kuser/kuser.cpp
+++ b/kuser/kuser.cpp
@@ -651,8 +651,8 @@ void KU::KUser::copyDir(const TQString &srcPath, const TQString &dstPath)
TQDir s(srcPath);
TQDir d(dstPath);
- TQString dot = TQString::tqfromLatin1(".");
- TQString dotdot = TQString::tqfromLatin1("..");
+ TQString dot = TQString::fromLatin1(".");
+ TQString dotdot = TQString::fromLatin1("..");
s.setFilter( TQDir::All | TQDir::Hidden | TQDir::System );
@@ -772,7 +772,7 @@ int KU::KUser::removeCrontabs()
file = TQFile::decodeName(CRONTAB_DIR) + "/" + p_name;
if ( access(TQFile::encodeName(file), F_OK) == 0 ) {
- command = TQString::tqfromLatin1("crontab -u %1 -r").tqarg(KProcess::quote(p_name));
+ command = TQString::fromLatin1("crontab -u %1 -r").tqarg(KProcess::quote(p_name));
if ( system(TQFile::encodeName(command)) != 0 ) {
KMessageBox::error( 0, i18n("Cannot remove crontab %1.\nError: %2")
.tqarg(command).tqarg(TQString::fromLocal8Bit(strerror(errno))) );