summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:58:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:58:08 -0600
commit1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 (patch)
treee24fdc0514249de1233dd5dc07f09d07a35f4269 /filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
parent089118c18533dfa3e6ce5065dbebdd4db94051f1 (diff)
downloadtdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.tar.gz
tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp b/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
index 26b3a194..332f063c 100644
--- a/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
+++ b/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
@@ -1102,7 +1102,7 @@ void KcmSambaConf::joinADomainBtnClicked() {
dlg->usernameEdit->text(),
dlg->passwordEdit->text()))
{
- KMessageBox::sorry(0,i18n("Joining the domain %1 failed.").tqarg(dlg->domainEdit->text()));
+ KMessageBox::sorry(0,i18n("Joining the domain %1 failed.").arg(dlg->domainEdit->text()));
}
}
delete dlg;
@@ -1172,7 +1172,7 @@ void KcmSambaConf::addSambaUserBtnClicked()
TQCString password;
int passResult = KPasswordDialog::getNewPassword(password,
- i18n("<qt>Please enter a password for the user <b>%1</b></qt>").tqarg(user.name));
+ i18n("<qt>Please enter a password for the user <b>%1</b></qt>").arg(user.name));
if (passResult != KPasswordDialog::Accepted) {
list.remove(item);
continue;
@@ -1180,7 +1180,7 @@ void KcmSambaConf::addSambaUserBtnClicked()
if (!passwd.addUser(user,password))
{
- KMessageBox::sorry(0,i18n("<qt>Adding the user <b>%1</b> to the Samba user database failed.</qt>").tqarg(user.name));
+ KMessageBox::sorry(0,i18n("<qt>Adding the user <b>%1</b> to the Samba user database failed.</qt>").arg(user.name));
break;
}
@@ -1211,7 +1211,7 @@ void KcmSambaConf::removeSambaUserBtnClicked()
SambaUser user( item->text(0), item->text(1).toInt() );
if (!passwd.removeUser(user))
{
- KMessageBox::sorry(0,i18n("Removing the user %1 from the Samba user database failed.").tqarg(user.name));
+ KMessageBox::sorry(0,i18n("Removing the user %1 from the Samba user database failed.").arg(user.name));
continue;
}
@@ -1235,13 +1235,13 @@ void KcmSambaConf::sambaUserPasswordBtnClicked()
TQCString password;
int passResult = KPasswordDialog::getNewPassword(password,
- i18n("Please enter a password for the user %1").tqarg(user.name));
+ i18n("Please enter a password for the user %1").arg(user.name));
if (passResult != KPasswordDialog::Accepted)
return;
if (!passwd.changePassword(user,password))
{
- KMessageBox::sorry(0,i18n("Changing the password of the user %1 failed.").tqarg(user.name));
+ KMessageBox::sorry(0,i18n("Changing the password of the user %1 failed.").arg(user.name));
} else {
static_cast<QMultiCheckListItem*>(item)->setOn(COL_NOPASSWORD,false);
}