KLDAPWidgets::LdapConfigWidget
#include <ldapconfigwidget.h>
Public Types | |
enum | Auth { Anonymous , Simple , SASL } |
enum | Security { None , SSL , TLS } |
enum | WinFlag { W_USER = 0x1 , W_BINDDN = 0x2 , W_REALM = 0x4 , W_PASS = 0x8 , W_HOST = 0x10 , W_PORT = 0x20 , W_VER = 0x40 , W_DN = 0x80 , W_FILTER = 0x100 , W_SECBOX = 0x200 , W_AUTHBOX = 0x400 , W_TIMELIMIT = 0x800 , W_SIZELIMIT = 0x1000 , W_PAGESIZE = 0x2000 , W_ALL = 0x2fff } |
typedef QFlags< WinFlag > | WinFlags |
Public Types inherited from QWidget | |
enum | RenderFlag |
Public Types inherited from QPaintDevice | |
enum | PaintDeviceMetric |
Signals | |
void | hostNameChanged (const QString &) |
Detailed Description
LDAP Configuration widget.
This class can be used to query the user for LDAP connection parameters. It's KConfigXT compatible, using widget names starting with kcfg_
Definition at line 27 of file ldapconfigwidget.h.
Member Typedef Documentation
◆ WinFlags
typedef QFlags< WinFlag > KLDAPWidgets::LdapConfigWidget::WinFlags |
Definition at line 66 of file ldapconfigwidget.h.
Member Enumeration Documentation
◆ Auth
enum KLDAPWidgets::LdapConfigWidget::Auth |
Definition at line 75 of file ldapconfigwidget.h.
◆ Security
enum KLDAPWidgets::LdapConfigWidget::Security |
Definition at line 68 of file ldapconfigwidget.h.
◆ WinFlag
enum KLDAPWidgets::LdapConfigWidget::WinFlag |
Definition at line 49 of file ldapconfigwidget.h.
Property Documentation
◆ auth
|
readwrite |
Definition at line 43 of file ldapconfigwidget.h.
◆ bindDn
|
readwrite |
Definition at line 33 of file ldapconfigwidget.h.
◆ dn
|
readwrite |
Definition at line 39 of file ldapconfigwidget.h.
◆ features
|
readwrite |
Definition at line 31 of file ldapconfigwidget.h.
◆ filter
|
readwrite |
Definition at line 40 of file ldapconfigwidget.h.
◆ host
|
readwrite |
Definition at line 36 of file ldapconfigwidget.h.
◆ mech
|
readwrite |
Definition at line 41 of file ldapconfigwidget.h.
◆ pageSize
|
readwrite |
Definition at line 46 of file ldapconfigwidget.h.
◆ password
|
readwrite |
Definition at line 35 of file ldapconfigwidget.h.
◆ port
|
readwrite |
Definition at line 37 of file ldapconfigwidget.h.
◆ realm
|
readwrite |
Definition at line 34 of file ldapconfigwidget.h.
◆ security
|
readwrite |
Definition at line 42 of file ldapconfigwidget.h.
◆ sizeLimit
|
readwrite |
Definition at line 44 of file ldapconfigwidget.h.
◆ timeLimit
|
readwrite |
Definition at line 45 of file ldapconfigwidget.h.
◆ user
|
readwrite |
Definition at line 32 of file ldapconfigwidget.h.
◆ version
|
readwrite |
Definition at line 38 of file ldapconfigwidget.h.
Constructor & Destructor Documentation
◆ LdapConfigWidget() [1/2]
|
explicit |
Constructs an empty configuration widget.
You need to call setFlags() after this.
- Parameters
-
parent the QWidget parent fl the window flags to set
Definition at line 471 of file ldapconfigwidget.cpp.
◆ LdapConfigWidget() [2/2]
|
explicit |
Constructs a configuration widget.
Definition at line 477 of file ldapconfigwidget.cpp.
◆ ~LdapConfigWidget()
|
overridedefault |
Destructs a configuration widget.
Member Function Documentation
◆ auth()
LdapConfigWidget::Auth LdapConfigWidget::auth | ( | ) | const |
Returns the authentication type.
Kconfig widget names: kcfg_ldapanon, kcfg_ldapsimple, kcfg_ldapsasl
- Parameters
-
auth the authentication type to set
Definition at line 785 of file ldapconfigwidget.cpp.
◆ bindDn()
QString LdapConfigWidget::bindDn | ( | ) | const |
Gets the bind dn.
Kconfig widget name: kcfg_ldapbinddn
Definition at line 642 of file ldapconfigwidget.cpp.
◆ dn()
KLDAPCore::LdapDN LdapConfigWidget::dn | ( | ) | const |
Gets the LDAP Base DN.
Kconfig widget name: kcfg_ldapdn
Definition at line 702 of file ldapconfigwidget.cpp.
◆ features()
LdapConfigWidget::WinFlags LdapConfigWidget::features | ( | ) | const |
Definition at line 832 of file ldapconfigwidget.cpp.
◆ filter()
QString LdapConfigWidget::filter | ( | ) | const |
Gets the LDAP Filter.
Kconfig widget name: kcfg_ldapfilter
Definition at line 714 of file ldapconfigwidget.cpp.
◆ host()
QString LdapConfigWidget::host | ( | ) | const |
Gets the host name.
Kconfig widget name: kcfg_ldaphost
Definition at line 666 of file ldapconfigwidget.cpp.
◆ hostNameChanged
◆ mech()
QString LdapConfigWidget::mech | ( | ) | const |
Gets the SASL Mechanism.
Kconfig widget name: kcfg_ldapsaslmech
Definition at line 739 of file ldapconfigwidget.cpp.
◆ pageSize()
int LdapConfigWidget::pageSize | ( | ) | const |
Returns the page size.
KConfig widget name: kcfg_ldappagesize
Definition at line 827 of file ldapconfigwidget.cpp.
◆ password()
QString LdapConfigWidget::password | ( | ) | const |
Gets the password.
Kconfig widget name: kcfg_ldappassword
Definition at line 630 of file ldapconfigwidget.cpp.
◆ port()
int LdapConfigWidget::port | ( | ) | const |
Gets the LDAP port.
Kconfig widget name: kcfg_ldapport
Definition at line 678 of file ldapconfigwidget.cpp.
◆ realm()
QString LdapConfigWidget::realm | ( | ) | const |
Gets the SASL realm.
Kconfig widget name: kcfg_ldaprealm
Definition at line 654 of file ldapconfigwidget.cpp.
◆ security()
LdapConfigWidget::Security LdapConfigWidget::security | ( | ) | const |
Returns the security type.
Kconfig widget names: kcfg_ldapnosec, kcfg_ldaptls, kcfg_ldapssl
- Parameters
-
security the security type to set
Definition at line 759 of file ldapconfigwidget.cpp.
◆ server()
KLDAPCore::LdapServer LdapConfigWidget::server | ( | ) | const |
Returns an LdapServer object constructed from the settings given.
Definition at line 500 of file ldapconfigwidget.cpp.
◆ setAuth()
void LdapConfigWidget::setAuth | ( | Auth | auth | ) |
Sets the authentication type (Anonymous, Simple, SASL).
Kconfig widget names: kcfg_ldapanon, kcfg_ldapsimple, kcfg_ldapsasl
- Parameters
-
auth the authentication type to set
Definition at line 770 of file ldapconfigwidget.cpp.
◆ setBindDn()
Sets the bind dn.
Kconfig widget name: kcfg_ldapbinddn
- Parameters
-
binddn the LDAP Bind DN to set
Definition at line 635 of file ldapconfigwidget.cpp.
◆ setDn()
Sets the LDAP Base DN.
Kconfig widget name: kcfg_ldapdn
- Parameters
-
dn the LDAP Base DN to set
Definition at line 695 of file ldapconfigwidget.cpp.
◆ setFeatures()
void LdapConfigWidget::setFeatures | ( | LdapConfigWidget::WinFlags | features | ) |
Definition at line 837 of file ldapconfigwidget.cpp.
◆ setFilter()
Sets the LDAP Filter.
Kconfig widget name: kcfg_ldapfilter
- Parameters
-
filter the LDAP Filter to set
Definition at line 707 of file ldapconfigwidget.cpp.
◆ setHost()
Sets the host name.
Kconfig widget name: kcfg_ldaphost
- Parameters
-
host the LDAP host to set
Definition at line 659 of file ldapconfigwidget.cpp.
◆ setMech()
Sets the SASL Mechanism.
Kconfig widget name: kcfg_ldapsaslmech
- Parameters
-
mech the SASL Mechanism to set
Definition at line 719 of file ldapconfigwidget.cpp.
◆ setPageSize()
void LdapConfigWidget::setPageSize | ( | int | pagesize | ) |
Sets the page size.
KConfig widget name: kcfg_ldappagesize
- Parameters
-
pagesize the page size to set
Definition at line 820 of file ldapconfigwidget.cpp.
◆ setPassword()
Sets the password.
Kconfig widget name: kcfg_ldappassword
- Parameters
-
password the password to set
Definition at line 623 of file ldapconfigwidget.cpp.
◆ setPort()
void LdapConfigWidget::setPort | ( | int | port | ) |
Sets the LDAP port.
Kconfig widget name: kcfg_ldapport
- Parameters
-
port the LDAP port to set
Definition at line 671 of file ldapconfigwidget.cpp.
◆ setRealm()
Sets the SASL realm.
Kconfig widget name: kcfg_ldaprealm
- Parameters
-
realm the SASL realm to set
Definition at line 647 of file ldapconfigwidget.cpp.
◆ setSecurity()
void LdapConfigWidget::setSecurity | ( | Security | security | ) |
Sets the security type (None, SSL, TLS).
Kconfig widget names: kcfg_ldapnosec, kcfg_ldaptls, kcfg_ldapssl
- Parameters
-
security the security type to set
Definition at line 744 of file ldapconfigwidget.cpp.
◆ setServer()
void LdapConfigWidget::setServer | ( | const KLDAPCore::LdapServer & | server | ) |
Set up the widget via an LdapServer object.
- Parameters
-
server the LdapServer object to set
Definition at line 558 of file ldapconfigwidget.cpp.
◆ setSizeLimit()
void LdapConfigWidget::setSizeLimit | ( | int | sizelimit | ) |
Sets the size limit.
KConfig widget name: kcfg_ldapsizelimit
- Parameters
-
sizelimit the size limit to set
Definition at line 796 of file ldapconfigwidget.cpp.
◆ setTimeLimit()
void LdapConfigWidget::setTimeLimit | ( | int | timelimit | ) |
Sets the time limit.
KConfig widget name: kcfg_ldaptimelimit
- Parameters
-
timelimit the time limit to set
Definition at line 808 of file ldapconfigwidget.cpp.
◆ setUrl()
void LdapConfigWidget::setUrl | ( | const KLDAPCore::LdapUrl & | url | ) |
Set up the widget via an LDAP Url.
- Parameters
-
url the LDAP Url to set
Definition at line 493 of file ldapconfigwidget.cpp.
◆ setUser()
Sets the user name.
Kconfig widget name: kcfg_ldapuser
- Parameters
-
user the user name to set
Definition at line 611 of file ldapconfigwidget.cpp.
◆ setVersion()
void LdapConfigWidget::setVersion | ( | int | version | ) |
Sets the LDAP protocol version.
Kconfig widget name: kcfg_ldapver
- Parameters
-
version the LDAP protocol version to set
Definition at line 683 of file ldapconfigwidget.cpp.
◆ sizeLimit()
int LdapConfigWidget::sizeLimit | ( | ) | const |
Returns the size limit.
KConfig widget name: kcfg_ldapsizelimit
Definition at line 803 of file ldapconfigwidget.cpp.
◆ timeLimit()
int LdapConfigWidget::timeLimit | ( | ) | const |
Returns the time limit.
KConfig widget name: kcfg_ldaptimelimit
Definition at line 815 of file ldapconfigwidget.cpp.
◆ url()
KLDAPCore::LdapUrl LdapConfigWidget::url | ( | ) | const |
Returns a LDAP Url constructed from the settings given.
Extensions are filled for use in the LDAP KIO worker.
Definition at line 488 of file ldapconfigwidget.cpp.
◆ user()
QString LdapConfigWidget::user | ( | ) | const |
Gets the user name.
Kconfig widget name: kcfg_ldapuser
Definition at line 618 of file ldapconfigwidget.cpp.
◆ version()
int LdapConfigWidget::version | ( | ) | const |
Gets the LDAP protocol version.
Kconfig widget name: kcfg_ldapver
Definition at line 690 of file ldapconfigwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Apr 27 2024 22:12:58 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.