summaryrefslogtreecommitdiffstats
path: root/kuser/kuser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:18 -0600
commitb836ed566cdce05ae8408705487cd10a423f3a90 (patch)
treeb37e97e4b5b83e83ba02c8e8db096303faff99bf /kuser/kuser.cpp
parent377fa3a2775cdb3194315bb83e21744dc7c97bbf (diff)
downloadtdeadmin-b836ed566cdce05ae8408705487cd10a423f3a90.tar.gz
tdeadmin-b836ed566cdce05ae8408705487cd10a423f3a90.zip
Rename old tq methods that no longer need a unique name
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))) );