summaryrefslogtreecommitdiffstats
path: root/kuser/mainView.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/mainView.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/mainView.cpp')
-rw-r--r--kuser/mainView.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kuser/mainView.cpp b/kuser/mainView.cpp
index fd9eee6..5d168ac 100644
--- a/kuser/mainView.cpp
+++ b/kuser/mainView.cpp
@@ -165,7 +165,7 @@ void mainView::userdel()
if ( group &&
KMessageBox::questionYesNo( 0, i18n("You are using private groups.\n"
"Do you want to delete the user's private group '%1'?")
- .arg(group->getName()), TQString(),
+ .tqarg(group->getName()), TQString(),
KStdGuiItem::del(), i18n("Do Not Delete")) == KMessageBox::Yes) {
kdDebug() << "del private group" << endl;
kug->getGroups().del( group );
@@ -203,7 +203,7 @@ void mainView::useradd()
if ( !ok ) return;
if ( kug->getUsers().lookup( name ) ) {
- KMessageBox::sorry( 0, i18n("User with name %1 already exists.").arg( name ) );
+ KMessageBox::sorry( 0, i18n("User with name %1 already exists.").tqarg( name ) );
return;
}
@@ -305,7 +305,7 @@ void mainView::setpwd()
if ( count > 1 ) {
if ( KMessageBox::questionYesNo( 0,
i18n("You have selected %1 users. Do you really want to change the password for all the selected users?")
- .arg( count ), TQString(), i18n("Change"), i18n("Do Not Change") ) == KMessageBox::No ) return;
+ .tqarg( count ), TQString(), i18n("Change"), i18n("Do Not Change") ) == KMessageBox::No ) return;
}
pwddlg d( this );
if ( d.exec() != TQDialog::Accepted ) return;
@@ -444,7 +444,7 @@ void mainView::grpdel()
KU::KUser *user = kug->getUsers().first();
while ( user ) {
if ( user->getGID() == group->getGID() ) {
- KMessageBox::error( 0, i18n( "The group '%1' is the primary group of one or more users (such as '%2'); it cannot be deleted." ).arg( group->getName() ).arg( user->getName() ) );
+ KMessageBox::error( 0, i18n( "The group '%1' is the primary group of one or more users (such as '%2'); it cannot be deleted." ).tqarg( group->getName() ).tqarg( user->getName() ) );
return;
}
user = kug->getUsers().next();
@@ -457,12 +457,12 @@ void mainView::grpdel()
case 0: return;
case 1:
if (KMessageBox::warningContinueCancel( 0,
- i18n("Do you really want to delete the group '%1'?").arg(group->getName()),
+ i18n("Do you really want to delete the group '%1'?").tqarg(group->getName()),
TQString(), KStdGuiItem::del()) != KMessageBox::Continue) return;
break;
default:
if (KMessageBox::warningContinueCancel( 0,
- i18n("Do you really want to delete the %1 selected groups?").arg(selected),
+ i18n("Do you really want to delete the %1 selected groups?").tqarg(selected),
TQString(), KStdGuiItem::del()) != KMessageBox::Continue) return;
}