summaryrefslogtreecommitdiffstats
path: root/kuser/addUser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kuser/addUser.cpp')
-rw-r--r--kuser/addUser.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kuser/addUser.cpp b/kuser/addUser.cpp
index 828e225..8021f9e 100644
--- a/kuser/addUser.cpp
+++ b/kuser/addUser.cpp
@@ -65,14 +65,14 @@ void addUser::slotOk()
if ( ( user->getCaps() & KU::KUser::Cap_POSIX ) &&
kug->getUsers().lookup( user->getUID() ) ) {
- KMessageBox::sorry( 0, i18n("User with UID %1 already exists.").tqarg( user->getUID() ) );
+ KMessageBox::sorry( 0, i18n("User with UID %1 already exists.").arg( user->getUID() ) );
return;
}
if ( ( kug->getUsers().getCaps() & KU::KUsers::Cap_Samba ) &&
( user->getCaps() & KU::KUser::Cap_Samba ) ) {
if ( kug->getUsers().lookup_sam( user->getSID().getRID() ) ) {
- KMessageBox::sorry( 0, i18n("User with RID %1 already exists.").tqarg( user->getSID().getRID() ) );
+ KMessageBox::sorry( 0, i18n("User with RID %1 already exists.").arg( user->getSID().getRID() ) );
return;
}
}
@@ -115,15 +115,15 @@ bool addUser::checkHome()
if ( KMessageBox::
warningContinueCancel ( 0,
i18n("Folder %1 already exists!\n%2 may become owner and permissions may change.\nDo you really want to use %3?").
- tqarg(h_dir).tqarg(user->getName()).tqarg(h_dir), TQString(), KStdGuiItem::cont() ) == KMessageBox::Cancel )
+ arg(h_dir).arg(user->getName()).arg(h_dir), TQString(), KStdGuiItem::cont() ) == KMessageBox::Cancel )
return false;
else
return true;
} else
- KMessageBox::error( 0, i18n("%1 is not a folder.").tqarg(h_dir) );
+ KMessageBox::error( 0, i18n("%1 is not a folder.").arg(h_dir) );
} else
- KMessageBox::error( 0, i18n("stat() failed on %1.").tqarg(h_dir) );
+ KMessageBox::error( 0, i18n("stat() failed on %1.").arg(h_dir) );
return false;
}
@@ -145,13 +145,13 @@ bool addUser::checkMailBox()
if (r == 0)
if (S_ISREG(s.st_mode))
KMessageBox::error( 0, i18n("Mailbox %1 already exists (uid=%2).")
- .tqarg(mailboxpath)
- .tqarg(s.st_uid) );
+ .arg(mailboxpath)
+ .arg(s.st_uid) );
else
KMessageBox::error( 0, i18n("%1 exists but is not a regular file.")
- .tqarg(mailboxpath) );
+ .arg(mailboxpath) );
else
- KMessageBox::error( 0, i18n("stat() failed on %1.").tqarg(mailboxpath) );
+ KMessageBox::error( 0, i18n("stat() failed on %1.").arg(mailboxpath) );
return false;
}