• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeabc
 

tdeabc

  • TDEABC
  • LdapConfigWidget
Public Types | Public Member Functions | List of all members
TDEABC::LdapConfigWidget Class Reference

#include <ldapconfigwidget.h>

Inherits TQWidget.

Public Types

enum  LCW_Flags {
  W_USER = 0x1 , W_PASS = 0x2 , W_BINDDN = 0x4 , W_REALM = 0x8 ,
  W_HOST = 0x10 , W_PORT = 0x20 , W_VER = 0x40 , W_DN = 0x80 ,
  W_FILTER = 0x100 , W_SECBOX = 0x400 , W_AUTHBOX = 0x800 , W_TIMELIMIT = 0x1000 ,
  W_SIZELIMIT = 0x2000 , W_ALL = 0xFFFFFFF
}
 

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.

Member Enumeration Documentation

◆ LCW_Flags

enum TDEABC::LdapConfigWidget::LCW_Flags

Definition at line 77 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()

LdapConfigWidget::~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.

◆ flags()

int LdapConfigWidget::flags ( ) const

Definition at line 599 of file ldapconfigwidget.cpp.

◆ flagsProp()

LCW_Flags TDEABC::LdapConfigWidget::flagsProp ( ) const
inline

Definition at line 248 of file ldapconfigwidget.h.

◆ 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.

◆ setFlags()

void LdapConfigWidget::setFlags ( int  flags)

Definition at line 604 of file ldapconfigwidget.cpp.

◆ setFlagsProp()

void TDEABC::LdapConfigWidget::setFlagsProp ( LCW_Flags  flags)
inline

Definition at line 249 of file ldapconfigwidget.h.

◆ 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:
  • ldapconfigwidget.h
  • ldapconfigwidget.cpp

tdeabc

Skip menu "tdeabc"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeabc

Skip menu "tdeabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeabc by doxygen 1.9.4
This website is maintained by Timothy Pearson.