.TH "KABC::LdapConfigWidget" kde3 "11 Jun 2005" "Version Version 3.4.1" "kabc Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KABC::LdapConfigWidget \- LDAP Configuration widget.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ldapconfigwidget.h>\fP
.PP
Inherits \fBQWidget\fP.
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBLCW_Flags\fP { \fBW_USER\fP =  0x1, \fBW_PASS\fP =  0x2, \fBW_BINDDN\fP =  0x4, \fBW_REALM\fP =  0x8, \fBW_HOST\fP =  0x10, \fBW_PORT\fP =  0x20, \fBW_VER\fP =  0x40, \fBW_DN\fP =  0x80, \fBW_FILTER\fP =  0x100, \fBW_SECBOX\fP =  0x400, \fBW_AUTHBOX\fP =  0x800, \fBW_TIMELIMIT\fP =  0x1000, \fBW_SIZELIMIT\fP =  0x2000, \fBW_ALL\fP =  0xFFFFFFF }"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBLdapConfigWidget\fP (\fBQWidget\fP *parent=0, const char *name=0, WFlags fl=0)"
.br
.ti -1c
.RI "\fBLdapConfigWidget\fP (int flags, \fBQWidget\fP *parent=0, const char *name=0, WFlags fl=0)"
.br
.ti -1c
.RI "virtual \fB~LdapConfigWidget\fP ()"
.br
.ti -1c
.RI "void \fBsetUser\fP (const \fBQString\fP &user)"
.br
.ti -1c
.RI "\fBQString\fP \fBuser\fP () const "
.br
.ti -1c
.RI "void \fBsetPassword\fP (const \fBQString\fP &password)"
.br
.ti -1c
.RI "\fBQString\fP \fBpassword\fP () const "
.br
.ti -1c
.RI "void \fBsetBindDN\fP (const \fBQString\fP &binddn)"
.br
.ti -1c
.RI "\fBQString\fP \fBbindDN\fP () const "
.br
.ti -1c
.RI "void \fBsetRealm\fP (const \fBQString\fP &realm)"
.br
.ti -1c
.RI "\fBQString\fP \fBrealm\fP () const "
.br
.ti -1c
.RI "void \fBsetHost\fP (const \fBQString\fP &host)"
.br
.ti -1c
.RI "\fBQString\fP \fBhost\fP () const "
.br
.ti -1c
.RI "void \fBsetPort\fP (int port)"
.br
.ti -1c
.RI "int \fBport\fP () const "
.br
.ti -1c
.RI "void \fBsetVer\fP (int ver)"
.br
.ti -1c
.RI "int \fBver\fP () const "
.br
.ti -1c
.RI "void \fBsetDn\fP (const \fBQString\fP &dn)"
.br
.ti -1c
.RI "\fBQString\fP \fBdn\fP () const "
.br
.ti -1c
.RI "void \fBsetFilter\fP (const \fBQString\fP &filter)"
.br
.ti -1c
.RI "\fBQString\fP \fBfilter\fP () const "
.br
.ti -1c
.RI "void \fBsetMech\fP (const \fBQString\fP &mech)"
.br
.ti -1c
.RI "\fBQString\fP \fBmech\fP () const "
.br
.ti -1c
.RI "void \fBsetSecNO\fP (bool b=true)"
.br
.ti -1c
.RI "bool \fBisSecNO\fP () const "
.br
.ti -1c
.RI "void \fBsetSecTLS\fP (bool b=true)"
.br
.ti -1c
.RI "bool \fBisSecTLS\fP () const "
.br
.ti -1c
.RI "void \fBsetSecSSL\fP (bool b=true)"
.br
.ti -1c
.RI "bool \fBisSecSSL\fP () const "
.br
.ti -1c
.RI "void \fBsetAuthAnon\fP (bool b=true)"
.br
.ti -1c
.RI "bool \fBisAuthAnon\fP () const "
.br
.ti -1c
.RI "void \fBsetAuthSimple\fP (bool b=true)"
.br
.ti -1c
.RI "bool \fBisAuthSimple\fP () const "
.br
.ti -1c
.RI "void \fBsetAuthSASL\fP (bool b=true)"
.br
.ti -1c
.RI "bool \fBisAuthSASL\fP () const "
.br
.ti -1c
.RI "void \fBsetSizeLimit\fP (int sizelimit)"
.br
.ti -1c
.RI "int \fBsizeLimit\fP () const "
.br
.ti -1c
.RI "void \fBsetTimeLimit\fP (int timelimit)"
.br
.ti -1c
.RI "int \fBtimeLimit\fP () const "
.br
.ti -1c
.RI "int \fBflags\fP () const "
.br
.ti -1c
.RI "void \fBsetFlags\fP (int flags)"
.br
.ti -1c
.RI "\fBKABC::LDAPUrl\fP \fBurl\fP () const "
.br
.in -1c
.SS "Properties"

.in +1c
.ti -1c
.RI "LCW_Flags \fBflags\fP"
.br
.ti -1c
.RI "\fBQString\fP \fBuser\fP"
.br
.ti -1c
.RI "\fBQString\fP \fBpassword\fP"
.br
.ti -1c
.RI "\fBQString\fP \fBbindDN\fP"
.br
.ti -1c
.RI "\fBQString\fP \fBrealm\fP"
.br
.ti -1c
.RI "\fBQString\fP \fBhost\fP"
.br
.ti -1c
.RI "int \fBport\fP"
.br
.ti -1c
.RI "int \fBver\fP"
.br
.ti -1c
.RI "\fBQString\fP \fBdn\fP"
.br
.ti -1c
.RI "\fBQString\fP \fBfilter\fP"
.br
.ti -1c
.RI "\fBQString\fP \fBmech\fP"
.br
.ti -1c
.RI "bool \fBsecNO\fP"
.br
.ti -1c
.RI "bool \fBsecSSL\fP"
.br
.ti -1c
.RI "bool \fBsecTLS\fP"
.br
.ti -1c
.RI "bool \fBauthAnon\fP"
.br
.ti -1c
.RI "bool \fBauthSimple\fP"
.br
.ti -1c
.RI "bool \fBauthSASL\fP"
.br
.ti -1c
.RI "int \fBsizeLimit\fP"
.br
.ti -1c
.RI "int \fBtimeLimit\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
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_ 
.PP
Definition at line 50 of file ldapconfigwidget.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "LdapConfigWidget::LdapConfigWidget (\fBQWidget\fP * parent = \fC0\fP, const char * name = \fC0\fP, WFlags fl = \fC0\fP)"
.PP
Constructs an empty configuration widget. 
.PP
You need to call setFlags() after this. 
.PP
Definition at line 47 of file ldapconfigwidget.cpp.
.SS "LdapConfigWidget::LdapConfigWidget (int flags, \fBQWidget\fP * parent = \fC0\fP, const char * name = \fC0\fP, WFlags fl = \fC0\fP)"
.PP
Constructs a configuration widget. 
.PP
Definition at line 56 of file ldapconfigwidget.cpp.
.SS "LdapConfigWidget::~\fBLdapConfigWidget\fP ()\fC [virtual]\fP"
.PP
Destructs a configuration widget. 
.PP
Definition at line 66 of file ldapconfigwidget.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void LdapConfigWidget::setUser (const \fBQString\fP & user)"
.PP
Sets the user name. 
.PP
Kconfig widget name: kcfg_ldapuser 
.PP
Definition at line 410 of file ldapconfigwidget.cpp.
.PP
References KLineEdit::setText().
.SS "\fBQString\fP KABC::LdapConfigWidget::user () const"
.PP
Gets the user name. 
.PP
Kconfig widget name: kcfg_ldapuser 
.SS "void LdapConfigWidget::setPassword (const \fBQString\fP & password)"
.PP
Sets the password. 
.PP
Kconfig widget name: kcfg_ldappassword 
.PP
Definition at line 420 of file ldapconfigwidget.cpp.
.PP
References KLineEdit::setText().
.SS "\fBQString\fP KABC::LdapConfigWidget::password () const"
.PP
Gets the password. 
.PP
Kconfig widget name: kcfg_ldappassword 
.SS "void LdapConfigWidget::setBindDN (const \fBQString\fP & binddn)"
.PP
Sets the bind dn. 
.PP
Useful for SASL proxy auth. Kconfig widget name: kcfg_ldapbinddn 
.PP
Definition at line 430 of file ldapconfigwidget.cpp.
.PP
References KLineEdit::setText().
.SS "\fBQString\fP KABC::LdapConfigWidget::bindDN () const"
.PP
Gets the bind dn. 
.PP
Kconfig widget name: kcfg_ldapbinddn 
.SS "void LdapConfigWidget::setRealm (const \fBQString\fP & realm)"
.PP
Sets the SASL realm. 
.PP
Kconfig widget name: kcfg_ldaprealm 
.PP
Definition at line 440 of file ldapconfigwidget.cpp.
.PP
References KLineEdit::setText().
.SS "\fBQString\fP KABC::LdapConfigWidget::realm () const"
.PP
Gets the SASL realm. 
.PP
Kconfig widget name: kcfg_ldaprealm 
.SS "void LdapConfigWidget::setHost (const \fBQString\fP & host)"
.PP
Sets the host name. 
.PP
Kconfig widget name: kcfg_ldaphost 
.PP
Definition at line 450 of file ldapconfigwidget.cpp.
.PP
References KLineEdit::setText().
.SS "\fBQString\fP KABC::LdapConfigWidget::host () const"
.PP
Gets the host name. 
.PP
Kconfig widget name: kcfg_ldaphost 
.SS "void LdapConfigWidget::setPort (int port)"
.PP
Sets the LDAP port. 
.PP
Kconfig widget name: kcfg_ldapport 
.PP
Definition at line 460 of file ldapconfigwidget.cpp.
.PP
References QSpinBox::setValue().
.SS "int KABC::LdapConfigWidget::port () const"
.PP
Gets the LDAP port. 
.PP
Kconfig widget name: kcfg_ldapport 
.SS "void LdapConfigWidget::setVer (int ver)"
.PP
Sets the LDAP protocol version. 
.PP
Kconfig widget name: kcfg_ldapver 
.PP
Definition at line 470 of file ldapconfigwidget.cpp.
.PP
References QSpinBox::setValue().
.SS "int KABC::LdapConfigWidget::ver () const"
.PP
Gets the LDAP protocol version. 
.PP
Kconfig widget name: kcfg_ldapver 
.SS "void LdapConfigWidget::setDn (const \fBQString\fP & dn)"
.PP
Sets the LDAP Base DN. 
.PP
Kconfig widget name: kcfg_ldapdn 
.PP
Definition at line 480 of file ldapconfigwidget.cpp.
.PP
References KLineEdit::setText().
.SS "\fBQString\fP KABC::LdapConfigWidget::dn () const"
.PP
Gets the LDAP Base DN. 
.PP
Kconfig widget name: kcfg_ldapdn 
.SS "void LdapConfigWidget::setFilter (const \fBQString\fP & filter)"
.PP
Sets the LDAP Filter. 
.PP
Kconfig widget name: kcfg_ldapfilter 
.PP
Definition at line 490 of file ldapconfigwidget.cpp.
.PP
References KLineEdit::setText().
.SS "\fBQString\fP KABC::LdapConfigWidget::filter () const"
.PP
Gets the LDAP Filter. 
.PP
Kconfig widget name: kcfg_ldapfilter 
.SS "void LdapConfigWidget::setMech (const \fBQString\fP & mech)"
.PP
Sets the SASL Mechanism. 
.PP
Kconfig widget name: kcfg_ldapsaslmech 
.PP
Definition at line 500 of file ldapconfigwidget.cpp.
.PP
References QComboBox::count(), QComboBox::insertItem(), QString::isEmpty(), KComboBox::setCurrentItem(), and QComboBox::text().
.SS "\fBQString\fP KABC::LdapConfigWidget::mech () const"
.PP
Gets the SASL Mechanism. 
.PP
Kconfig widget name: kcfg_ldapsaslmech 
.SS "void LdapConfigWidget::setSecNO (bool b = \fCtrue\fP)"
.PP
Sets the configuration to no transport security. 
.PP
Kconfig widget name: kcfg_ldapnosec 
.PP
Definition at line 519 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::setChecked().
.SS "bool LdapConfigWidget::isSecNO () const"
.PP
Returns true if no transport security selected. 
.PP
Kconfig widget name: kcfg_ldapnosec 
.PP
Definition at line 524 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::isChecked().
.SS "void LdapConfigWidget::setSecTLS (bool b = \fCtrue\fP)"
.PP
Sets the configuration to TLS. 
.PP
Kconfig widget name: kcfg_ldaptls 
.PP
Definition at line 529 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::setChecked().
.SS "bool LdapConfigWidget::isSecTLS () const"
.PP
Returns true if TLS selected. 
.PP
Kconfig widget name: kcfg_ldaptls 
.PP
Definition at line 534 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::isChecked().
.SS "void LdapConfigWidget::setSecSSL (bool b = \fCtrue\fP)"
.PP
Sets the configuration to SSL. 
.PP
Kconfig widget name: kcfg_ldapssl 
.PP
Definition at line 539 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::setChecked().
.SS "bool LdapConfigWidget::isSecSSL () const"
.PP
Returns true if SSL selected. 
.PP
Kconfig widget name: kcfg_ldapssl 
.PP
Definition at line 544 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::isChecked().
.SS "void LdapConfigWidget::setAuthAnon (bool b = \fCtrue\fP)"
.PP
Sets the authentication to anonymous. 
.PP
Kconfig widget name: kcfg_ldapanon 
.PP
Definition at line 549 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::setChecked().
.SS "bool LdapConfigWidget::isAuthAnon () const"
.PP
Returns true if Anonymous authentication selected. 
.PP
Kconfig widget name: kcfg_ldapanon 
.PP
Definition at line 554 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::isChecked().
.SS "void LdapConfigWidget::setAuthSimple (bool b = \fCtrue\fP)"
.PP
Sets the authentication to simple. 
.PP
Kconfig widget name: kcfg_ldapsimple 
.PP
Definition at line 559 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::setChecked().
.SS "bool LdapConfigWidget::isAuthSimple () const"
.PP
Returns true if Simple authentication selected. 
.PP
Kconfig widget name: kcfg_ldapsimple 
.PP
Definition at line 564 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::isChecked().
.SS "void LdapConfigWidget::setAuthSASL (bool b = \fCtrue\fP)"
.PP
Sets the authentication to SASL. 
.PP
Kconfig widget name: kcfg_ldapsasl 
.PP
Definition at line 569 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::setChecked().
.SS "bool LdapConfigWidget::isAuthSASL () const"
.PP
Returns true if SASL authentication selected. 
.PP
Kconfig widget name: kcfg_ldapsasl 
.PP
Definition at line 574 of file ldapconfigwidget.cpp.
.PP
References QRadioButton::isChecked().
.SS "void LdapConfigWidget::setSizeLimit (int sizelimit)"
.PP
Sets the size limit. 
.PP
\fBKConfig\fP widget name: kcfg_ldapsizelimit 
.PP
Definition at line 579 of file ldapconfigwidget.cpp.
.PP
References QSpinBox::setValue().
.SS "int KABC::LdapConfigWidget::sizeLimit () const"
.PP
Returns the size limit. 
.PP
\fBKConfig\fP widget name: kcfg_ldapsizelimit 
.SS "void LdapConfigWidget::setTimeLimit (int timelimit)"
.PP
Sets the time limit. 
.PP
\fBKConfig\fP widget name: kcfg_ldaptimelimit 
.PP
Definition at line 589 of file ldapconfigwidget.cpp.
.PP
References QSpinBox::setValue().
.SS "int KABC::LdapConfigWidget::timeLimit () const"
.PP
Returns the time limit. 
.PP
\fBKConfig\fP widget name: kcfg_ldaptimelimit 
.SS "\fBLDAPUrl\fP LdapConfigWidget::url () const"
.PP
Returns a LDAP Url constructed from the settings given. 
.PP
Extensions are filled for use in the LDAP ioslave 
.PP
Definition at line 378 of file ldapconfigwidget.cpp.
.PP
References QComboBox::currentText(), QRadioButton::isChecked(), KABC::LDAPUrl::setDn(), KABC::LDAPUrl::setExtension(), KABC::LDAPUrl::setFilter(), KURL::setHost(), KURL::setPass(), KURL::setPort(), KURL::setProtocol(), KURL::setUser(), QLineEdit::text(), and QSpinBox::value().

.SH "Author"
.PP 
Generated automatically by Doxygen for kabc Library from the source code.
