KLDAP Library
ldapmodel.cpp
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
void clear()
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 int columnCount(const QModelIndex &parent) const
Reimplemented from QAbstractItemModel::columnCount().
Definition: ldapmodel.cpp:170
virtual bool insertRows(int row, int count, const QModelIndex &parent=QModelIndex())
Reimplemented from QAbstractItemModel::insertRows().
Definition: ldapmodel.cpp:227
const QObjectList & children() const
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const
Reimplemented from QAbstractItemModel::headerData().
Definition: ldapmodel.cpp:147
Definition: ldapmodelnode_p.h:68
virtual bool hasChildren(const QModelIndex &parent) const
Reimplemented from QAbstractItemModel::hasChildren().
Definition: ldapmodel.cpp:188
virtual QVariant data(const QModelIndex &index, int role) const
Reimplemented from QAbstractItemModel::data().
Definition: ldapmodel.cpp:101
virtual int rowCount(const QModelIndex &parent) const
Reimplemented from QAbstractItemModel::rowCount().
Definition: ldapmodel.cpp:177
virtual bool canFetchMore(const QModelIndex &parent) const
Reimplemented from QAbstractItemModel::canFetchMore().
Definition: ldapmodel.cpp:206
virtual void fetchMore(const QModelIndex &parent)
Reimplemented from QAbstractItemModel::fetchMore().
Definition: ldapmodel.cpp:213
bool isValid() const
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Reimplemented from QAbstractItemModel::flags().
Definition: ldapmodel.cpp:160
virtual Qt::DropActions supportedDropActions() const
Reimplemented from QAbstractItemModel::supportedDropActions().
Definition: ldapmodel.cpp:251
const char * constData() const
void * internalPointer() const
QModelIndex createIndex(int row, int column, void *ptr) const
This class represents a connection to an LDAP server.
Definition: ldapconnection.h:36
Definition: ldapmodelnode_p.h:40
virtual QModelIndex index(int row, int col, const QModelIndex &parent) const
Reimplemented from QAbstractItemModel::index().
Definition: ldapmodel.cpp:83
virtual void sort(int column, Qt::SortOrder order=Qt::AscendingOrder)
Reimplemented from QAbstractItemModel::removeRows().
Definition: ldapmodel.cpp:245
virtual bool removeRows(int row, int count, const QModelIndex &parent=QModelIndex())
Reimplemented from QAbstractItemModel::removeRows().
Definition: ldapmodel.cpp:236
typedef DropActions
Definition: ldapmodelnode_p.h:102
virtual QMimeData * mimeData(const QModelIndexList &indexes) const
Reimplemented from QAbstractItemModel::mimedata().
Definition: ldapmodel.cpp:256
virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
Reimplemented from QAbstractItemModel::dropMimedata().
Definition: ldapmodel.cpp:262
int column() const
QObject * parent() const
void setConnection(LdapConnection &connection)
Set the connection that the model should use.
Definition: ldapmodel.cpp:56
virtual bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
Reimplemented from QAbstractItemModel::setData().
Definition: ldapmodel.cpp:137
typedef ItemFlags
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.