diff options
author | Timothy Pearson <[email protected]> | 2012-05-30 14:36:53 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-05-30 14:36:53 -0500 |
commit | 6d3279772de658a37abc06c74726c72af9c0a484 (patch) | |
tree | 3740a11f3976e7809bda8f4b8b4792ad96b477f4 /src/ldapmgr.h | |
parent | 93a591d8f0733774cfc62329ef4b9cc5403bd16c (diff) | |
download | kcmldapmanager-6d3279772de658a37abc06c74726c72af9c0a484.tar.gz kcmldapmanager-6d3279772de658a37abc06c74726c72af9c0a484.zip |
Add machine support
Diffstat (limited to 'src/ldapmgr.h')
-rw-r--r-- | src/ldapmgr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ldapmgr.h b/src/ldapmgr.h index 4ba458e..44a0583 100644 --- a/src/ldapmgr.h +++ b/src/ldapmgr.h @@ -55,21 +55,26 @@ class LDAPConfig: public KCModule void connectToRealm(const TQString&); void populateUsers(); void populateGroups(); + void populateMachines(); void updateUsersList(); void updateGroupsList(); + void updateMachinesList(); void userHighlighted(); void groupHighlighted(); + void machineHighlighted(); void addNewUser(); void addNewGroup(); void modifySelectedUser(); void modifySelectedGroup(); void removeSelectedUser(); void removeSelectedGroup(); + void removeSelectedMachine(); void updateAllInformation(); public: LDAPUserInfo findUserInfoByName(TQString name); LDAPGroupInfo findGroupInfoByName(TQString name); + LDAPMachineInfo findMachineInfoByName(TQString name); LDAPUserInfo findUserInfoByNameAndUID(TQString name, TQString uid); LDAPGroupInfo findGroupInfoByNameAndGID(TQString name, TQString gid); LDAPGroupInfo findGroupInfoByGID(TQString gid); @@ -81,6 +86,7 @@ class LDAPConfig: public KCModule private: LDAPUserInfo selectedUser(); LDAPGroupInfo selectedGroup(); + LDAPMachineInfo selectedMachine(); int setPasswordForUser(LDAPUserInfo user, TQString *errstr); private: @@ -92,6 +98,7 @@ class LDAPConfig: public KCModule LDAPUserInfoList m_userInfoList; LDAPGroupInfoList m_groupInfoList; + LDAPMachineInfoList m_machineInfoList; }; #endif |