KLDAP Library
21 #ifndef KLDAP_LDAPMODELNODE_P_H 22 #define KLDAP_LDAPMODELNODE_P_H 26 #include <QtCore/QList> 27 #include <QtCore/QVariant> 30 #include "ldapobject.h" 31 #include "kldap_export.h" 35 class LdapModelDNNode;
51 virtual NodeType nodeType()
const = 0;
54 int columnCount()
const {
return 2; }
57 void setPopulated(
bool b ) { m_isPopulated = b; }
58 bool isPopulated()
const {
return m_isPopulated; }
72 const LdapDN &dn = LdapDN() );
75 LdapModelNode::NodeType nodeType()
const 76 {
return LdapModelNode::DN; }
80 int childCount()
const {
return m_childItems.size(); }
81 const QList<LdapModelNode*>& children()
const 82 {
return m_childItems; }
84 const LdapDN &dn()
const {
return m_dn; }
95 QList<LdapModelNode*> m_childItems;
106 const QString &attrName = QString(),
107 const QByteArray &attrData = QByteArray() );
110 LdapModelNode::NodeType nodeType()
const 111 {
return LdapModelNode::Attr; }
113 const QString &attributeName() {
return m_attrName; }
114 const QByteArray &attributeData() {
return m_attrData; }
118 QByteArray m_attrData;
This class represents an LDAP Object.
void setLdapObject(const LdapObject &object)
Creates child LdapModelAttrNode object to store object's attributes and adds them as children of this...
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Jul 25 2019 00:00:00 by
doxygen 1.8.15 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.