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

tdeabc

  • TDEABC
  • LdapClient
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
TDEABC::LdapClient Class Reference

#include <ldapclient.h>

Inherits TQObject.

Public Slots

void setHost (const TQString &host)
 
TQString host () const
 
void setPort (const TQString &port)
 
TQString port () const
 
void setBase (const TQString &base)
 
TQString base () const
 
void setBindDN (const TQString &bindDN)
 
TQString bindDN () const
 
void setPwdBindDN (const TQString &pwdBindDN)
 
TQString pwdBindDN () const
 
void setAttrs (const TQStringList &attrs)
 
TQStringList attrs () const
 
void setScope (const TQString scope)
 
void startQuery (const TQString &filter)
 
void cancelQuery ()
 

Signals

void done ()
 
void error (const TQString &)
 
void result (const TDEABC::LdapObject &)
 

Public Member Functions

 LdapClient (TQObject *parent=0, const char *name=0)
 
bool isActive () const
 

Protected Slots

void slotData (TDEIO::Job *, const TQByteArray &data)
 
void slotInfoMessage (TDEIO::Job *, const TQString &info)
 
void slotDone ()
 

Protected Member Functions

void startParseLDIF ()
 
void parseLDIF (const TQByteArray &data)
 
void endParseLDIF ()
 

Protected Attributes

TQString mHost
 
TQString mPort
 
TQString mBase
 
TQString mScope
 
TQStringList mAttrs
 
TQGuardedPtr< TDEIO::SimpleJob > mJob
 
bool mActive
 
LdapObject mCurrentObject
 
TQCString mBuf
 
TQCString mLastAttrName
 
TQCString mLastAttrValue
 
bool mIsBase64
 

Detailed Description

This class is internal.

Binary compatibiliy might be broken any time without notification. Do not use it.

We mean it!

Definition at line 85 of file ldapclient.h.

Constructor & Destructor Documentation

◆ LdapClient()

LdapClient::LdapClient ( TQObject *  parent = 0,
const char *  name = 0 
)

Definition at line 79 of file ldapclient.cpp.

◆ ~LdapClient()

LdapClient::~LdapClient ( )
virtual

Definition at line 85 of file ldapclient.cpp.

Member Function Documentation

◆ attrs

TQStringList TDEABC::LdapClient::attrs ( ) const
inlineslot

Definition at line 145 of file ldapclient.h.

◆ base

TQString TDEABC::LdapClient::base ( ) const
inlineslot

Definition at line 126 of file ldapclient.h.

◆ bindDN

TQString LdapClient::bindDN ( ) const
slot

Definition at line 235 of file ldapclient.cpp.

◆ cancelQuery

void LdapClient::cancelQuery ( )
slot

Abort a running query

Definition at line 149 of file ldapclient.cpp.

◆ done

void TDEABC::LdapClient::done ( )
signal

Emitted when the query is done

◆ endParseLDIF()

void LdapClient::endParseLDIF ( )
protected

Definition at line 198 of file ldapclient.cpp.

◆ error

void TDEABC::LdapClient::error ( const TQString &  )
signal

Emitted in case of error

◆ host

TQString TDEABC::LdapClient::host ( ) const
inlineslot

Definition at line 113 of file ldapclient.h.

◆ isActive()

bool TDEABC::LdapClient::isActive ( ) const
inline

returns true if there is a query running

Definition at line 94 of file ldapclient.h.

◆ parseLDIF()

void LdapClient::parseLDIF ( const TQByteArray &  data)
protected

Definition at line 202 of file ldapclient.cpp.

◆ port

TQString TDEABC::LdapClient::port ( ) const
inlineslot

Definition at line 120 of file ldapclient.h.

◆ pwdBindDN

TQString LdapClient::pwdBindDN ( ) const
slot

Definition at line 240 of file ldapclient.cpp.

◆ result

void TDEABC::LdapClient::result ( const TDEABC::LdapObject &  )
signal

Emitted once for each object returned from the query

◆ setAttrs

void LdapClient::setAttrs ( const TQStringList &  attrs)
slot

Set the attributes that should be returned, or an empty list if all attributes are wanted

Definition at line 116 of file ldapclient.cpp.

◆ setBase

void LdapClient::setBase ( const TQString &  base)
slot

Set the base DN

Definition at line 101 of file ldapclient.cpp.

◆ setBindDN

void LdapClient::setBindDN ( const TQString &  bindDN)
slot

Set the bind DN

Definition at line 106 of file ldapclient.cpp.

◆ setHost

void LdapClient::setHost ( const TQString &  host)
slot

Set the name or IP of the LDAP server

Definition at line 91 of file ldapclient.cpp.

◆ setPort

void LdapClient::setPort ( const TQString &  port)
slot

Set the port of the LDAP server if using a nonstandard port

Definition at line 96 of file ldapclient.cpp.

◆ setPwdBindDN

void LdapClient::setPwdBindDN ( const TQString &  pwdBindDN)
slot

Set the bind password DN

Definition at line 111 of file ldapclient.cpp.

◆ setScope

void TDEABC::LdapClient::setScope ( const TQString  scope)
inlineslot

Definition at line 147 of file ldapclient.h.

◆ slotData

void LdapClient::slotData ( TDEIO::Job *  ,
const TQByteArray &  data 
)
protectedslot

Definition at line 159 of file ldapclient.cpp.

◆ slotDone

void LdapClient::slotDone ( )
protectedslot

Definition at line 173 of file ldapclient.cpp.

◆ slotInfoMessage

void LdapClient::slotInfoMessage ( TDEIO::Job *  ,
const TQString &  info 
)
protectedslot

Definition at line 168 of file ldapclient.cpp.

◆ startParseLDIF()

void LdapClient::startParseLDIF ( )
protected

Definition at line 189 of file ldapclient.cpp.

◆ startQuery

void LdapClient::startQuery ( const TQString &  filter)
slot

Start the query with filter filter

Definition at line 121 of file ldapclient.cpp.

Member Data Documentation

◆ mActive

bool TDEABC::LdapClient::mActive
protected

Definition at line 176 of file ldapclient.h.

◆ mAttrs

TQStringList TDEABC::LdapClient::mAttrs
protected

Definition at line 173 of file ldapclient.h.

◆ mBase

TQString TDEABC::LdapClient::mBase
protected

Definition at line 171 of file ldapclient.h.

◆ mBuf

TQCString TDEABC::LdapClient::mBuf
protected

Definition at line 179 of file ldapclient.h.

◆ mCurrentObject

LdapObject TDEABC::LdapClient::mCurrentObject
protected

Definition at line 178 of file ldapclient.h.

◆ mHost

TQString TDEABC::LdapClient::mHost
protected

Definition at line 169 of file ldapclient.h.

◆ mIsBase64

bool TDEABC::LdapClient::mIsBase64
protected

Definition at line 182 of file ldapclient.h.

◆ mJob

TQGuardedPtr<TDEIO::SimpleJob> TDEABC::LdapClient::mJob
protected

Definition at line 175 of file ldapclient.h.

◆ mLastAttrName

TQCString TDEABC::LdapClient::mLastAttrName
protected

Definition at line 180 of file ldapclient.h.

◆ mLastAttrValue

TQCString TDEABC::LdapClient::mLastAttrValue
protected

Definition at line 181 of file ldapclient.h.

◆ mPort

TQString TDEABC::LdapClient::mPort
protected

Definition at line 170 of file ldapclient.h.

◆ mScope

TQString TDEABC::LdapClient::mScope
protected

Definition at line 172 of file ldapclient.h.


The documentation for this class was generated from the following files:
  • ldapclient.h
  • ldapclient.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.