diff options
author | Timothy Pearson <[email protected]> | 2012-05-29 18:23:12 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-05-29 18:23:12 -0500 |
commit | a6d06dfe2ab0aadb6b0987fb7f96e8f3c9841846 (patch) | |
tree | cbc45950449b5942277b8a3490b87bfecf8df023 /src/groupconfigdlg.cpp | |
parent | 68e675057219723d6c657db4fd930c5b49ff583c (diff) | |
download | kcmldapmanager-a6d06dfe2ab0aadb6b0987fb7f96e8f3c9841846.tar.gz kcmldapmanager-a6d06dfe2ab0aadb6b0987fb7f96e8f3c9841846.zip |
RW support for groups now in place
Diffstat (limited to 'src/groupconfigdlg.cpp')
-rw-r--r-- | src/groupconfigdlg.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/groupconfigdlg.cpp b/src/groupconfigdlg.cpp index 8f7593e..94b70e4 100644 --- a/src/groupconfigdlg.cpp +++ b/src/groupconfigdlg.cpp @@ -72,6 +72,19 @@ GroupConfigDialog::GroupConfigDialog(LDAPGroupInfo group, LDAPConfig* parent, co } void GroupConfigDialog::slotOk() { + int i; + + // Update data + m_group.gid = m_base->groupID->value(); + TQStringList userlist; + for (i=0;i<m_base->selectedAccounts->count();i++) { + TQListBoxText* itm = dynamic_cast<TQListBoxText*>(m_base->selectedAccounts->item(i)); + if (itm) { + userlist.append(m_ldapconfig->findUserInfoByName(itm->text()).distinguishedName); + } + } + m_group.userlist = userlist; + accept(); } |