summaryrefslogtreecommitdiffstats
path: root/kuser/misc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:15 -0600
commit377fa3a2775cdb3194315bb83e21744dc7c97bbf (patch)
treeb6f515484589d67271adb168a1ead39f1c98493d /kuser/misc.cpp
parentd1248617107f659af9d03cf1ef6d783571a0cba8 (diff)
downloadtdeadmin-377fa3a2775cdb3194315bb83e21744dc7c97bbf.tar.gz
tdeadmin-377fa3a2775cdb3194315bb83e21744dc7c97bbf.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit d1248617107f659af9d03cf1ef6d783571a0cba8.
Diffstat (limited to 'kuser/misc.cpp')
-rw-r--r--kuser/misc.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kuser/misc.cpp b/kuser/misc.cpp
index 6b26a72..2e1ebab 100644
--- a/kuser/misc.cpp
+++ b/kuser/misc.cpp
@@ -37,13 +37,13 @@
bool backup(const TQString & name)
{
- TQString tmp = name + TQString::fromLatin1(KU_BACKUP_EXT);
+ TQString tmp = name + TQString::tqfromLatin1(KU_BACKUP_EXT);
TQFile::remove( tmp );
if (copyFile(TQFile::encodeName(name), TQFile::encodeName(tmp)) == -1)
{
TQString str;
- KMessageBox::error( 0, i18n("Can't create backup file for %1").arg(name) );
+ KMessageBox::error( 0, i18n("Can't create backup file for %1").tqarg(name) );
return false;
}
return true;
@@ -68,17 +68,17 @@ int copyFile(const TQString & from, const TQString & to)
fo.setName(to);
if (!fi.exists()) {
- KMessageBox::error( 0, i18n("File %1 does not exist.").arg(from) );
+ KMessageBox::error( 0, i18n("File %1 does not exist.").tqarg(from) );
return (-1);
}
if (!fi.open(IO_ReadOnly)) {
- KMessageBox::error( 0, i18n("Cannot open file %1 for reading.").arg(from) );
+ KMessageBox::error( 0, i18n("Cannot open file %1 for reading.").tqarg(from) );
return (-1);
}
if (!fo.open(IO_Raw | IO_WriteOnly | IO_Truncate)) {
- KMessageBox::error( 0, i18n("Cannot open file %1 for writing.").arg(to) );
+ KMessageBox::error( 0, i18n("Cannot open file %1 for writing.").tqarg(to) );
return (-1);
}