25#include <tqstringlist.h>
51 enum Scope { Base, One, Sub };
62 const TQString&
dn()
const {
return m_dn; }
64 void setDn(
const TQString &dn );
67 const TQStringList &
attributes() {
return m_attributes; }
70 { m_attributes=attributes; updateQuery(); }
73 Scope
scope()
const {
return m_scope; }
75 void setScope(Scope scope) { m_scope = scope; updateQuery(); }
78 const TQString &
filter()
const {
return m_filter; }
80 void setFilter( TQString filter ) { m_filter = filter; updateQuery(); }
83 bool hasExtension(
const TQString &key )
const;
85 Extension extension(
const TQString &key )
const;
87 TQString extension(
const TQString &key,
bool &critical )
const;
89 void setExtension(
const TQString &key,
const Extension &ext );
91 void setExtension(
const TQString &key,
const TQString &value,
bool critical =
false );
93 void removeExtension(
const TQString &key );
102 TQMap<TQString, Extension> m_extensions;
104 TQStringList m_attributes;
void setScope(Scope scope)
Sets the scope part of the LDAP Url.
void setAttributes(const TQStringList &attributes)
Sets the attributes part of the LDAP Url.
const TQString & dn() const
Returns the dn part of the LDAP Url (same as path(), but slash removed from the beginning).
void setFilter(TQString filter)
Sets the filter part of the LDAP Url.
const TQStringList & attributes()
Returns the attributes part of the LDAP Url.
const TQString & filter() const
Returns the filter part of the LDAP Url.
Scope scope() const
Returns the scope part of the LDAP Url.
static data, shared by ALL addressee objects