KLDAP Library
21 #ifndef KLDAP_LDAPMODEL_H
22 #define KLDAP_LDAPMODEL_H
24 #include <QtCore/QAbstractItemModel>
26 #include "ldapconnection.h"
27 #include "ldapobject.h"
28 #include "kldap_export.h"
47 NodeTypeRole = Qt::UserRole + 1
51 DistinguishedName = 0,
104 int role = Qt::EditRole );
108 virtual QVariant headerData(
int section, Qt::Orientation orientation,
int role )
const;
116 virtual int columnCount(
const QModelIndex &parent )
const;
120 virtual int rowCount(
const QModelIndex &parent )
const;
124 virtual bool hasChildren(
const QModelIndex &parent )
const;
128 virtual bool canFetchMore(
const QModelIndex &parent )
const;
132 virtual void fetchMore(
const QModelIndex &parent );
137 virtual bool insertRows(
int row,
int count,
143 virtual bool removeRows(
int row,
int count,
149 virtual void sort(
int column, Qt::SortOrder order = Qt::AscendingOrder );
163 virtual QMimeData *mimeData(
const QModelIndexList &indexes )
const;
168 virtual bool dropMimeData(
const QMimeData *data, Qt::DropAction action,
183 bool hasChildrenOfType(
const QModelIndex &parent, LdapDataType type )
const;
190 virtual void revert();
195 virtual bool submit();
This class represents an LDAP Object.
A ModelView interface to an LDAP tree.
This class represents a connection to an LDAP server.
This class starts a search operation on a LDAP server and returns the search values via a Qt signal...
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
KDE's Doxygen guidelines are available online.