kdevplatform/debugger
treemodel.cpp
QVariant data(const QModelIndex &index, int role) const override
Definition: treemodel.cpp:72
QVariant fromValue(const T &value)
void * internalPointer() const
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
Definition: treemodel.cpp:92
Qt::ItemFlags flags(const QModelIndex &index) const override
Definition: treemodel.cpp:84
int column() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool hasIndex(int row, int column, const QModelIndex &parent) const
Definition: treemodel.h:38
int columnCount(const QModelIndex &parent=QModelIndex()) const override
Definition: treemodel.cpp:64
QModelIndex createIndex(int row, int column, void *ptr) const
TreeItem * itemForIndex(const QModelIndex &index) const
Definition: treemodel.cpp:160
Definition: treemodel.h:55
Definition: treeitem.h:37
bool setData(const QModelIndex &index, const QVariant &value, int role) override
Definition: treemodel.cpp:212
QModelIndex indexForItem(TreeItem *item, int column) const
Definition: treemodel.cpp:170
void allChildrenFetched()
bool isValid() const
virtual void fetchMoreChildren()=0
Fetches more children, and adds them by calling appendChild.
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Definition: treemodel.cpp:141
TreeModel(const QVector< QString > &headers, QObject *parent=nullptr)
Definition: treemodel.cpp:42
void itemChildrenReady()
The variables widget is passive, and is invoked by the rest of the code via two main Q_SLOTS:
Definition: breakpoint.h:34
typedef ItemFlags
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const override
Definition: treemodel.cpp:103
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:36:19 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:36:19 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.