KLDAP Library
ldapmodel.h
This class represents a connection to an LDAP server.
Definition ldapconnection.h:37
virtual QModelIndex index(int row, int col, const QModelIndex &parent) const
Reimplemented from QAbstractItemModel::index().
Definition ldapmodel.cpp:83
virtual bool canFetchMore(const QModelIndex &parent) const
Reimplemented from QAbstractItemModel::canFetchMore().
Definition ldapmodel.cpp:206
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const
Reimplemented from QAbstractItemModel::headerData().
Definition ldapmodel.cpp:147
virtual void sort(int column, Qt::SortOrder order=Qt::AscendingOrder)
Reimplemented from QAbstractItemModel::removeRows().
Definition ldapmodel.cpp:245
virtual bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
Reimplemented from QAbstractItemModel::setData().
Definition ldapmodel.cpp:137
virtual bool hasChildren(const QModelIndex &parent) const
Reimplemented from QAbstractItemModel::hasChildren().
Definition ldapmodel.cpp:188
virtual int rowCount(const QModelIndex &parent) const
Reimplemented from QAbstractItemModel::rowCount().
Definition ldapmodel.cpp:177
void ready()
The ready() signal is emitted when the model is ready for use by other components.
virtual int columnCount(const QModelIndex &parent) const
Reimplemented from QAbstractItemModel::columnCount().
Definition ldapmodel.cpp:170
virtual Qt::DropActions supportedDropActions() const
Reimplemented from QAbstractItemModel::supportedDropActions().
Definition ldapmodel.cpp:251
virtual bool removeRows(int row, int count, const QModelIndex &parent=QModelIndex())
Reimplemented from QAbstractItemModel::removeRows().
Definition ldapmodel.cpp:236
void setConnection(LdapConnection &connection)
Set the connection that the model should use.
Definition ldapmodel.cpp:56
virtual void fetchMore(const QModelIndex &parent)
Reimplemented from QAbstractItemModel::fetchMore().
Definition ldapmodel.cpp:213
virtual QMimeData * mimeData(const QModelIndexList &indexes) const
Reimplemented from QAbstractItemModel::mimedata().
Definition ldapmodel.cpp:256
virtual bool insertRows(int row, int count, const QModelIndex &parent=QModelIndex())
Reimplemented from QAbstractItemModel::insertRows().
Definition ldapmodel.cpp:227
virtual QVariant data(const QModelIndex &index, int role) const
Reimplemented from QAbstractItemModel::data().
Definition ldapmodel.cpp:101
virtual QModelIndex parent(const QModelIndex &child) const
Reimplemented from QAbstractItemModel::parent().
Definition ldapmodel.cpp:67
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Reimplemented from QAbstractItemModel::flags().
Definition ldapmodel.cpp:160
bool hasChildrenOfType(const QModelIndex &parent, LdapDataType type) const
Checks to see if the item referenced by parent has any children of the type type.
Definition ldapmodel.cpp:274
virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
Reimplemented from QAbstractItemModel::dropMimedata().
Definition ldapmodel.cpp:262
This class starts a search operation on a LDAP server and returns the search values via a Qt signal.
Definition ldapsearch.h:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.