KLDAP Library
ldapobject.cpp
QString toString() const
Returns the text presentation (LDIF format) of the object.
Definition: ldapobject.cpp:100
QByteArray value(const QString &attributeName) const
Returns the first value of the attribute with the given name or an empty byte array if the attribute ...
Definition: ldapobject.cpp:139
void setValues(const QString &attributeName, const LdapAttrValue &values)
Sets the given attribute values.
Definition: ldapobject.cpp:120
static QByteArray assembleLine(const QString &fieldname, const QByteArray &value, uint linelen=0, bool url=false)
Assembles fieldname and value into a valid Ldif line, BASE64 encodes the value if necessary and optio...
Definition: ldif.cpp:71
void setAttributes(const LdapAttrMap &attrs)
Sets the attributes and attribute values of the object.
Definition: ldapobject.cpp:85
QString fromUtf8(const char *str, int size)
bool hasAttribute(const QString &attributeName) const
Returns true if the given attributethe exists, false otherwise.
Definition: ldapobject.cpp:148
void setDn(const LdapDN &dn)
Sets the Distinguished Name of the object.
Definition: ldapobject.cpp:75
const LdapAttrMap & attributes() const
Returns the attributes and their values.
Definition: ldapobject.cpp:95
void addValue(const QString &attributeName, const QByteArray &value)
Adds the given value to the specified attribute.
Definition: ldapobject.cpp:125
typedef ConstIterator
LdapAttrValue values(const QString &attributeName) const
Returns all values of the attribute with the given name.
Definition: ldapobject.cpp:130
QString fromLatin1(const char *str, int size)
typedef ConstIterator
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.