diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:52:44 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 20:26:21 +0200 |
commit | 239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595 (patch) | |
tree | b9679d63b6a1004d9983259d41303b5a88a1621a /kuser/misc.cpp | |
parent | 1754e4db964431e721e805a923b689b6c92960e4 (diff) | |
download | tdeadmin-239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595.tar.gz tdeadmin-239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 6b7a8ff33a6383be4a9dea3c4225d142aab79b78)
Diffstat (limited to 'kuser/misc.cpp')
-rw-r--r-- | kuser/misc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kuser/misc.cpp b/kuser/misc.cpp index 659ff73..6b26a72 100644 --- a/kuser/misc.cpp +++ b/kuser/misc.cpp @@ -43,7 +43,7 @@ bool backup(const TQString & name) if (copyFile(TQFile::encodeName(name), TQFile::encodeName(tmp)) == -1) { TQString str; - KMessageBox::error( 0, i18n("Can't create backup file for %1").tqarg(name) ); + KMessageBox::error( 0, i18n("Can't create backup file for %1").arg(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.").tqarg(from) ); + KMessageBox::error( 0, i18n("File %1 does not exist.").arg(from) ); return (-1); } if (!fi.open(IO_ReadOnly)) { - KMessageBox::error( 0, i18n("Cannot open file %1 for reading.").tqarg(from) ); + KMessageBox::error( 0, i18n("Cannot open file %1 for reading.").arg(from) ); return (-1); } if (!fo.open(IO_Raw | IO_WriteOnly | IO_Truncate)) { - KMessageBox::error( 0, i18n("Cannot open file %1 for writing.").tqarg(to) ); + KMessageBox::error( 0, i18n("Cannot open file %1 for writing.").arg(to) ); return (-1); } |