|
|
|
@ -96,32 +96,32 @@ LDAPConfig::LDAPConfig(TQWidget *parent, const char *name, const TQStringList&)
|
|
|
|
|
base->machine_icon->setPixmap(SmallIcon("system.png"));
|
|
|
|
|
base->service_icon->setPixmap(SmallIcon("kcmsystem.png"));
|
|
|
|
|
|
|
|
|
|
connect(base->user_ldapRealm, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(connectToRealm(const TQString&)));
|
|
|
|
|
connect(base->group_ldapRealm, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(connectToRealm(const TQString&)));
|
|
|
|
|
connect(base->machine_ldapRealm, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(connectToRealm(const TQString&)));
|
|
|
|
|
connect(base->service_ldapRealm, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(connectToRealm(const TQString&)));
|
|
|
|
|
connect(base->user_list, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(userHighlighted()));
|
|
|
|
|
connect(base->group_list, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(groupHighlighted()));
|
|
|
|
|
connect(base->machine_list, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(machineHighlighted()));
|
|
|
|
|
connect(base->service_list, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(serviceHighlighted()));
|
|
|
|
|
connect(base->user_list, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(modifySelectedUser()));
|
|
|
|
|
connect(base->group_list, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(modifySelectedGroup()));
|
|
|
|
|
|
|
|
|
|
connect(base->user_buttonAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(addNewUser()));
|
|
|
|
|
connect(base->group_buttonAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(addNewGroup()));
|
|
|
|
|
connect(base->machine_buttonAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(addNewMachine()));
|
|
|
|
|
connect(base->service_buttonAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(addNewService()));
|
|
|
|
|
connect(base->user_buttonModify, TQT_SIGNAL(clicked()), this, TQT_SLOT(modifySelectedUser()));
|
|
|
|
|
connect(base->group_buttonModify, TQT_SIGNAL(clicked()), this, TQT_SLOT(modifySelectedGroup()));
|
|
|
|
|
connect(base->user_buttonDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeSelectedUser()));
|
|
|
|
|
connect(base->group_buttonDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeSelectedGroup()));
|
|
|
|
|
connect(base->machine_buttonDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeSelectedMachine()));
|
|
|
|
|
connect(base->service_buttonDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeSelectedService()));
|
|
|
|
|
|
|
|
|
|
connect(base->user_buttonRefresh, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateAllInformation()));
|
|
|
|
|
connect(base->group_buttonRefresh, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateAllInformation()));
|
|
|
|
|
connect(base->machine_buttonRefresh, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateAllInformation()));
|
|
|
|
|
connect(base->service_buttonRefresh, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateAllInformation()));
|
|
|
|
|
connect(base->user_ldapRealm, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(connectToRealm(const TQString&)));
|
|
|
|
|
connect(base->group_ldapRealm, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(connectToRealm(const TQString&)));
|
|
|
|
|
connect(base->machine_ldapRealm, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(connectToRealm(const TQString&)));
|
|
|
|
|
connect(base->service_ldapRealm, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(connectToRealm(const TQString&)));
|
|
|
|
|
connect(base->user_list, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(userHighlighted()));
|
|
|
|
|
connect(base->group_list, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(groupHighlighted()));
|
|
|
|
|
connect(base->machine_list, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(machineHighlighted()));
|
|
|
|
|
connect(base->service_list, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(serviceHighlighted()));
|
|
|
|
|
connect(base->user_list, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(modifySelectedUser()));
|
|
|
|
|
connect(base->group_list, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(modifySelectedGroup()));
|
|
|
|
|
|
|
|
|
|
connect(base->user_buttonAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(addNewUser()));
|
|
|
|
|
connect(base->group_buttonAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(addNewGroup()));
|
|
|
|
|
connect(base->machine_buttonAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(addNewMachine()));
|
|
|
|
|
connect(base->service_buttonAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(addNewService()));
|
|
|
|
|
connect(base->user_buttonModify, TQ_SIGNAL(clicked()), this, TQ_SLOT(modifySelectedUser()));
|
|
|
|
|
connect(base->group_buttonModify, TQ_SIGNAL(clicked()), this, TQ_SLOT(modifySelectedGroup()));
|
|
|
|
|
connect(base->user_buttonDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeSelectedUser()));
|
|
|
|
|
connect(base->group_buttonDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeSelectedGroup()));
|
|
|
|
|
connect(base->machine_buttonDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeSelectedMachine()));
|
|
|
|
|
connect(base->service_buttonDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeSelectedService()));
|
|
|
|
|
|
|
|
|
|
connect(base->user_buttonRefresh, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateAllInformation()));
|
|
|
|
|
connect(base->group_buttonRefresh, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateAllInformation()));
|
|
|
|
|
connect(base->machine_buttonRefresh, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateAllInformation()));
|
|
|
|
|
connect(base->service_buttonRefresh, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateAllInformation()));
|
|
|
|
|
|
|
|
|
|
load();
|
|
|
|
|
|
|
|
|
|