summaryrefslogtreecommitdiffstats
path: root/kuser/kgroupfiles.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:52:44 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 20:26:21 +0200
commit239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595 (patch)
treeb9679d63b6a1004d9983259d41303b5a88a1621a /kuser/kgroupfiles.cpp
parent1754e4db964431e721e805a923b689b6c92960e4 (diff)
downloadtdeadmin-239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595.tar.gz
tdeadmin-239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 6b7a8ff33a6383be4a9dea3c4225d142aab79b78)
Diffstat (limited to 'kuser/kgroupfiles.cpp')
-rw-r--r--kuser/kgroupfiles.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kuser/kgroupfiles.cpp b/kuser/kgroupfiles.cpp
index eed0ee5..8734936 100644
--- a/kuser/kgroupfiles.cpp
+++ b/kuser/kgroupfiles.cpp
@@ -95,7 +95,7 @@ bool KGroupFiles::reload()
rc = stat(TQFile::encodeName(filename), &st);
if(rc != 0) {
KMessageBox::error( 0, i18n("stat call on file %1 failed: %2\nCheck KUser settings.").
- tqarg(filename).tqarg(TQString::fromLatin1(strerror(errno))) );
+ arg(filename).arg(TQString::fromLatin1(strerror(errno))) );
if( (processing_file & GROUP) != 0 ) {
group_errno = errno;
if(!nisgroup_filename.isEmpty()) {
@@ -121,7 +121,7 @@ bool KGroupFiles::reload()
FILE *fgrp = fopen(TQFile::encodeName(filename), "r");
TQString tmp;
if (fgrp == NULL) {
- KMessageBox::error( 0, i18n("Error opening %1 for reading.").tqarg(filename) );
+ KMessageBox::error( 0, i18n("Error opening %1 for reading.").arg(filename) );
return FALSE;
}
@@ -233,14 +233,14 @@ bool KGroupFiles::save()
if(!group_filename.isEmpty()) {
if((group_fd = fopen(TQFile::encodeName(new_group_filename), "w")) == NULL) {
- KMessageBox::error( 0, i18n("Error opening %1 for writing.").tqarg(new_group_filename) );
+ KMessageBox::error( 0, i18n("Error opening %1 for writing.").arg(new_group_filename) );
return false;
}
}
if(!gshadow_filename.isEmpty()) {
if((gshadow_fd = fopen(TQFile::encodeName(new_gshadow_filename), "w")) == NULL) {
- KMessageBox::error( 0, i18n("Error opening %1 for writing.").tqarg(new_gshadow_filename) );
+ KMessageBox::error( 0, i18n("Error opening %1 for writing.").arg(new_gshadow_filename) );
if ( group_fd ) fclose ( group_fd );
return false;
}
@@ -248,7 +248,7 @@ bool KGroupFiles::save()
if(!nisgroup_filename.isEmpty() && (nisgroup_filename != group_filename)) {
if((nisgroup_fd = fopen(TQFile::encodeName(new_nisgroup_filename), "w")) == NULL) {
- KMessageBox::error( 0, i18n("Error opening %1 for writing.").tqarg(new_nisgroup_filename) );
+ KMessageBox::error( 0, i18n("Error opening %1 for writing.").arg(new_nisgroup_filename) );
if ( group_fd ) fclose ( group_fd );
if ( gshadow_fd ) fclose ( gshadow_fd );
return false;