#include <ldapconfigwidget.h>
Inherits TQWidget.
Public Member Functions | |
LdapConfigWidget (TQWidget *parent=0, const char *name=0, WFlags fl=0) | |
LdapConfigWidget (int flags, TQWidget *parent=0, const char *name=0, WFlags fl=0) | |
virtual | ~LdapConfigWidget () |
void | setUser (const TQString &user) |
TQString | user () const |
void | setPassword (const TQString &password) |
TQString | password () const |
void | setBindDN (const TQString &binddn) |
TQString | bindDN () const |
void | setRealm (const TQString &realm) |
TQString | realm () const |
void | setHost (const TQString &host) |
TQString | host () const |
void | setPort (int port) |
int | port () const |
void | setVer (int ver) |
int | ver () const |
void | setDn (const TQString &dn) |
TQString | dn () const |
void | setFilter (const TQString &filter) |
TQString | filter () const |
void | setMech (const TQString &mech) |
TQString | mech () const |
void | setSecNO (bool b=true) |
bool | isSecNO () const |
void | setSecTLS (bool b=true) |
bool | isSecTLS () const |
void | setSecSSL (bool b=true) |
bool | isSecSSL () const |
void | setAuthAnon (bool b=true) |
bool | isAuthAnon () const |
void | setAuthSimple (bool b=true) |
bool | isAuthSimple () const |
void | setAuthSASL (bool b=true) |
bool | isAuthSASL () const |
void | setSizeLimit (int sizelimit) |
int | sizeLimit () const |
void | setTimeLimit (int timelimit) |
int | timeLimit () const |
int | flags () const |
void | setFlags (int flags) |
LCW_Flags | flagsProp () const |
void | setFlagsProp (LCW_Flags flags) |
TDEABC::LDAPUrl | url () const |
Detailed Description
LDAP Configuration widget.
This class can be used to query the user for LDAP connection parameters. It's TDEConfigXT compatible, using widget names starting with kcfg_
Definition at line 50 of file ldapconfigwidget.h.
Constructor & Destructor Documentation
◆ LdapConfigWidget() [1/2]
LdapConfigWidget::LdapConfigWidget | ( | TQWidget * | parent = 0 , |
const char * | name = 0 , |
||
WFlags | fl = 0 |
||
) |
Constructs an empty configuration widget.
You need to call setFlags() after this.
Definition at line 47 of file ldapconfigwidget.cpp.
◆ LdapConfigWidget() [2/2]
LdapConfigWidget::LdapConfigWidget | ( | int | flags, |
TQWidget * | parent = 0 , |
||
const char * | name = 0 , |
||
WFlags | fl = 0 |
||
) |
Constructs a configuration widget.
Definition at line 56 of file ldapconfigwidget.cpp.
◆ ~LdapConfigWidget()
|
virtual |
Destructs a configuration widget.
Definition at line 66 of file ldapconfigwidget.cpp.
Member Function Documentation
◆ bindDN()
TQString LdapConfigWidget::bindDN | ( | ) | const |
Gets the bind dn.
Kconfig widget name: kcfg_ldapbinddn
Definition at line 435 of file ldapconfigwidget.cpp.
◆ dn()
TQString LdapConfigWidget::dn | ( | ) | const |
Gets the LDAP Base DN.
Kconfig widget name: kcfg_ldapdn
Definition at line 485 of file ldapconfigwidget.cpp.
◆ filter()
TQString LdapConfigWidget::filter | ( | ) | const |
Gets the LDAP Filter.
Kconfig widget name: kcfg_ldapfilter
Definition at line 495 of file ldapconfigwidget.cpp.
◆ host()
TQString LdapConfigWidget::host | ( | ) | const |
Gets the host name.
Kconfig widget name: kcfg_ldaphost
Definition at line 455 of file ldapconfigwidget.cpp.
◆ isAuthAnon()
bool LdapConfigWidget::isAuthAnon | ( | ) | const |
Returns true if Anonymous authentication selected.
Kconfig widget name: kcfg_ldapanon
Definition at line 554 of file ldapconfigwidget.cpp.
◆ isAuthSASL()
bool LdapConfigWidget::isAuthSASL | ( | ) | const |
Returns true if SASL authentication selected.
Kconfig widget name: kcfg_ldapsasl
Definition at line 574 of file ldapconfigwidget.cpp.
◆ isAuthSimple()
bool LdapConfigWidget::isAuthSimple | ( | ) | const |
Returns true if Simple authentication selected.
Kconfig widget name: kcfg_ldapsimple
Definition at line 564 of file ldapconfigwidget.cpp.
◆ isSecNO()
bool LdapConfigWidget::isSecNO | ( | ) | const |
Returns true if no transport security selected.
Kconfig widget name: kcfg_ldapnosec
Definition at line 524 of file ldapconfigwidget.cpp.
◆ isSecSSL()
bool LdapConfigWidget::isSecSSL | ( | ) | const |
Returns true if SSL selected.
Kconfig widget name: kcfg_ldapssl
Definition at line 544 of file ldapconfigwidget.cpp.
◆ isSecTLS()
bool LdapConfigWidget::isSecTLS | ( | ) | const |
Returns true if TLS selected.
Kconfig widget name: kcfg_ldaptls
Definition at line 534 of file ldapconfigwidget.cpp.
◆ mech()
TQString LdapConfigWidget::mech | ( | ) | const |
Gets the SASL Mechanism.
Kconfig widget name: kcfg_ldapsaslmech
Definition at line 514 of file ldapconfigwidget.cpp.
◆ password()
TQString LdapConfigWidget::password | ( | ) | const |
Gets the password.
Kconfig widget name: kcfg_ldappassword
Definition at line 425 of file ldapconfigwidget.cpp.
◆ port()
int LdapConfigWidget::port | ( | ) | const |
Gets the LDAP port.
Kconfig widget name: kcfg_ldapport
Definition at line 465 of file ldapconfigwidget.cpp.
◆ realm()
TQString LdapConfigWidget::realm | ( | ) | const |
Gets the SASL realm.
Kconfig widget name: kcfg_ldaprealm
Definition at line 445 of file ldapconfigwidget.cpp.
◆ setAuthAnon()
void LdapConfigWidget::setAuthAnon | ( | bool | b = true | ) |
Sets the authentication to anonymous.
Kconfig widget name: kcfg_ldapanon
Definition at line 549 of file ldapconfigwidget.cpp.
◆ setAuthSASL()
void LdapConfigWidget::setAuthSASL | ( | bool | b = true | ) |
Sets the authentication to SASL.
Kconfig widget name: kcfg_ldapsasl
Definition at line 569 of file ldapconfigwidget.cpp.
◆ setAuthSimple()
void LdapConfigWidget::setAuthSimple | ( | bool | b = true | ) |
Sets the authentication to simple.
Kconfig widget name: kcfg_ldapsimple
Definition at line 559 of file ldapconfigwidget.cpp.
◆ setBindDN()
void LdapConfigWidget::setBindDN | ( | const TQString & | binddn | ) |
Sets the bind dn.
Useful for SASL proxy auth. Kconfig widget name: kcfg_ldapbinddn
Definition at line 430 of file ldapconfigwidget.cpp.
◆ setDn()
void LdapConfigWidget::setDn | ( | const TQString & | dn | ) |
Sets the LDAP Base DN.
Kconfig widget name: kcfg_ldapdn
Definition at line 480 of file ldapconfigwidget.cpp.
◆ setFilter()
void LdapConfigWidget::setFilter | ( | const TQString & | filter | ) |
Sets the LDAP Filter.
Kconfig widget name: kcfg_ldapfilter
Definition at line 490 of file ldapconfigwidget.cpp.
◆ setHost()
void LdapConfigWidget::setHost | ( | const TQString & | host | ) |
Sets the host name.
Kconfig widget name: kcfg_ldaphost
Definition at line 450 of file ldapconfigwidget.cpp.
◆ setMech()
void LdapConfigWidget::setMech | ( | const TQString & | mech | ) |
Sets the SASL Mechanism.
Kconfig widget name: kcfg_ldapsaslmech
Definition at line 500 of file ldapconfigwidget.cpp.
◆ setPassword()
void LdapConfigWidget::setPassword | ( | const TQString & | password | ) |
Sets the password.
Kconfig widget name: kcfg_ldappassword
Definition at line 420 of file ldapconfigwidget.cpp.
◆ setPort()
void LdapConfigWidget::setPort | ( | int | port | ) |
Sets the LDAP port.
Kconfig widget name: kcfg_ldapport
Definition at line 460 of file ldapconfigwidget.cpp.
◆ setRealm()
void LdapConfigWidget::setRealm | ( | const TQString & | realm | ) |
Sets the SASL realm.
Kconfig widget name: kcfg_ldaprealm
Definition at line 440 of file ldapconfigwidget.cpp.
◆ setSecNO()
void LdapConfigWidget::setSecNO | ( | bool | b = true | ) |
Sets the configuration to no transport security.
Kconfig widget name: kcfg_ldapnosec
Definition at line 519 of file ldapconfigwidget.cpp.
◆ setSecSSL()
void LdapConfigWidget::setSecSSL | ( | bool | b = true | ) |
Sets the configuration to SSL.
Kconfig widget name: kcfg_ldapssl
Definition at line 539 of file ldapconfigwidget.cpp.
◆ setSecTLS()
void LdapConfigWidget::setSecTLS | ( | bool | b = true | ) |
Sets the configuration to TLS.
Kconfig widget name: kcfg_ldaptls
Definition at line 529 of file ldapconfigwidget.cpp.
◆ setSizeLimit()
void LdapConfigWidget::setSizeLimit | ( | int | sizelimit | ) |
Sets the size limit.
TDEConfig widget name: kcfg_ldapsizelimit
Definition at line 579 of file ldapconfigwidget.cpp.
◆ setTimeLimit()
void LdapConfigWidget::setTimeLimit | ( | int | timelimit | ) |
Sets the time limit.
TDEConfig widget name: kcfg_ldaptimelimit
Definition at line 589 of file ldapconfigwidget.cpp.
◆ setUser()
void LdapConfigWidget::setUser | ( | const TQString & | user | ) |
Sets the user name.
Kconfig widget name: kcfg_ldapuser
Definition at line 410 of file ldapconfigwidget.cpp.
◆ setVer()
void LdapConfigWidget::setVer | ( | int | ver | ) |
Sets the LDAP protocol version.
Kconfig widget name: kcfg_ldapver
Definition at line 470 of file ldapconfigwidget.cpp.
◆ sizeLimit()
int LdapConfigWidget::sizeLimit | ( | ) | const |
Returns the size limit.
TDEConfig widget name: kcfg_ldapsizelimit
Definition at line 584 of file ldapconfigwidget.cpp.
◆ timeLimit()
int LdapConfigWidget::timeLimit | ( | ) | const |
Returns the time limit.
TDEConfig widget name: kcfg_ldaptimelimit
Definition at line 594 of file ldapconfigwidget.cpp.
◆ url()
LDAPUrl LdapConfigWidget::url | ( | ) | const |
Returns a LDAP Url constructed from the settings given.
Extensions are filled for use in the LDAP ioslave
Definition at line 378 of file ldapconfigwidget.cpp.
◆ user()
TQString LdapConfigWidget::user | ( | ) | const |
Gets the user name.
Kconfig widget name: kcfg_ldapuser
Definition at line 415 of file ldapconfigwidget.cpp.
◆ ver()
int LdapConfigWidget::ver | ( | ) | const |
Gets the LDAP protocol version.
Kconfig widget name: kcfg_ldapver
Definition at line 475 of file ldapconfigwidget.cpp.
The documentation for this class was generated from the following files: