diff options
Diffstat (limited to 'filesharing/simple')
-rw-r--r-- | filesharing/simple/controlcenter.ui | 6 | ||||
-rw-r--r-- | filesharing/simple/fileshare.cpp | 2 | ||||
-rw-r--r-- | filesharing/simple/groupconfigdlg.cpp | 20 |
3 files changed, 14 insertions, 14 deletions
diff --git a/filesharing/simple/controlcenter.ui b/filesharing/simple/controlcenter.ui index fad303c4..c9fa3f12 100644 --- a/filesharing/simple/controlcenter.ui +++ b/filesharing/simple/controlcenter.ui @@ -29,7 +29,7 @@ <property name="text"> <string>SMB and NFS servers are not installed on this machine, to enable this module the servers must be installed.</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -112,7 +112,7 @@ <property name="text"> <string>Enable simple sharing to allow users to share folders from their HOME folder, without knowing the root password.</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -177,7 +177,7 @@ <property name="text"> <string>Enable advanced sharing to allow users to share any folders, as long as they have write access to the needed configuration files, or they know the root password.</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> diff --git a/filesharing/simple/fileshare.cpp b/filesharing/simple/fileshare.cpp index 22d0a17e..2a81f704 100644 --- a/filesharing/simple/fileshare.cpp +++ b/filesharing/simple/fileshare.cpp @@ -299,7 +299,7 @@ void KFileShareConfig::save() if ( ! file.open(IO_WriteOnly)) { KMessageBox::detailedError(this, i18n("Could not save settings."), - i18n("Could not open file '%1' for writing: %2").tqarg(FILESHARECONF).tqarg( + i18n("Could not open file '%1' for writing: %2").arg(FILESHARECONF).arg( file.errorString() ), i18n("Saving Failed")); return; diff --git a/filesharing/simple/groupconfigdlg.cpp b/filesharing/simple/groupconfigdlg.cpp index 1efe2baa..a57d0f79 100644 --- a/filesharing/simple/groupconfigdlg.cpp +++ b/filesharing/simple/groupconfigdlg.cpp @@ -128,7 +128,7 @@ void GroupConfigDlg::slotAddUser() { if (allUsers.count()==0) { KMessageBox::information(this, i18n("All users are in the %1 group already.") - .tqarg(m_fileShareGroup.name())); + .arg(m_fileShareGroup.name())); return; } @@ -173,7 +173,7 @@ bool GroupConfigDlg::addUser(const KUser & user, const KUserGroup & group) { groups.append(group); if (!userMod(user.loginName(),groups)) { KMessageBox::sorry(this,i18n("Could not add user '%1' to group '%2'") - .tqarg(user.loginName()).tqarg(group.name())); + .arg(user.loginName()).arg(group.name())); return false; } return true; @@ -185,7 +185,7 @@ bool GroupConfigDlg::removeUser(const KUser & user, const KUserGroup & group) { groups.remove(group); if (!userMod(user.loginName(),groups)) { KMessageBox::sorry(this,i18n("Could not remove user '%1' from group '%2'") - .tqarg(user.loginName()).tqarg(group.name())); + .arg(user.loginName()).arg(group.name())); return false; } return true; @@ -333,9 +333,9 @@ void GroupConfigDlg::setFileShareGroup(const KUserGroup & group) { updateListBox(); m_gui->groupUsersRadio->setText( i18n("Only users of the '%1' group are allowed to share folders") - .tqarg(m_fileShareGroup.name())); + .arg(m_fileShareGroup.name())); m_gui->usersGrpBx->setTitle(i18n("Users of '%1' Group") - .tqarg(m_fileShareGroup.name())); + .arg(m_fileShareGroup.name())); m_gui->otherGroupBtn->setText(i18n("Change Group...")); m_gui->usersGrpBx->show(); } else { @@ -360,7 +360,7 @@ bool GroupConfigDlg::addUsersToGroup(TQValueList<KUser> users,const KUserGroup & bool GroupConfigDlg::emptyGroup(const TQString & s) { if (KMessageBox::No == KMessageBox::questionYesNo(this, - i18n("Do you really want to remove all users from group '%1'?").tqarg(s), TQString(), KStdGuiItem::del(), KStdGuiItem::cancel())) { + i18n("Do you really want to remove all users from group '%1'?").arg(s), TQString(), KStdGuiItem::del(), KStdGuiItem::cancel())) { return false; } @@ -377,7 +377,7 @@ bool GroupConfigDlg::emptyGroup(const TQString & s) { bool GroupConfigDlg::deleteGroup(const TQString & s) { if (KMessageBox::No == KMessageBox::questionYesNo(this, - i18n("Do you really want to delete group '%1'?").tqarg(s), TQString(), KStdGuiItem::del(), KStdGuiItem::cancel())) { + i18n("Do you really want to delete group '%1'?").arg(s), TQString(), KStdGuiItem::del(), KStdGuiItem::cancel())) { return false; } @@ -385,7 +385,7 @@ bool GroupConfigDlg::deleteGroup(const TQString & s) { proc << "groupdel" << s; bool result = proc.start(KProcess::Block) && proc.normalExit(); if (!result) { - KMessageBox::sorry(this,i18n("Deleting group '%1' failed.").tqarg(s)); + KMessageBox::sorry(this,i18n("Deleting group '%1' failed.").arg(s)); } return result; @@ -398,7 +398,7 @@ bool GroupConfigDlg::createFileShareGroup(const TQString & s) { } if (KMessageBox::No == KMessageBox::questionYesNo(this, - i18n("This group '%1' does not exist. Should it be created?").tqarg(s), TQString(), i18n("Create"), i18n("Do Not Create"))) + i18n("This group '%1' does not exist. Should it be created?").arg(s), TQString(), i18n("Create"), i18n("Do Not Create"))) return false; //debug("CreateFileShareGroup: "+s); @@ -406,7 +406,7 @@ bool GroupConfigDlg::createFileShareGroup(const TQString & s) { proc << "groupadd" << s; bool result = proc.start(KProcess::Block) && proc.normalExit(); if (!result) { - KMessageBox::sorry(this,i18n("Creation of group '%1' failed.").tqarg(s)); + KMessageBox::sorry(this,i18n("Creation of group '%1' failed.").arg(s)); } else { setFileShareGroup(KUserGroup(s)); } |