KLDAP Library
21 #ifndef KLDAP_LDAPOBJECT_H
22 #define KLDAP_LDAPOBJECT_H
24 #include <QtCore/QList>
25 #include <QtCore/QMap>
26 #include <QtCore/QSharedDataPointer>
27 #include <QtCore/QString>
30 #include "kldap_export.h"
34 typedef QList<QByteArray> LdapAttrValue;
35 typedef QMap<QString,LdapAttrValue > LdapAttrMap;
54 QString toString()
const;
63 void setDn(
const LdapDN &dn );
67 void setDn(
const QString &dn );
71 void setAttributes(
const LdapAttrMap &attrs );
78 void setValues(
const QString &attributeName,
const LdapAttrValue &values );
85 void addValue(
const QString &attributeName,
const QByteArray &value );
93 const LdapAttrMap &attributes()
const;
97 LdapAttrValue values(
const QString &attributeName )
const;
102 QByteArray value(
const QString &attributeName )
const;
106 bool hasAttribute(
const QString &attributeName )
const;
110 QSharedDataPointer<Private> d;
113 typedef QList<LdapObject> LdapObjects;
This class represents an LDAP Object.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:21 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.