kdevplatform/debugger
#include <treeitem.h>
|
| ~TreeItem () override |
|
void | emitAllChildrenFetched () |
|
virtual void | fetchMoreChildren ()=0 |
|
virtual void | setColumn (int index, const QVariant &data) |
|
| QObject (QObject *parent) |
|
| QObject (QObject *parent, const char *name) |
|
virtual | ~QObject () |
|
bool | blockSignals (bool block) |
|
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
|
const QObjectList & | children () const |
|
const char * | className () const |
|
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *receiver, const char *method) |
|
void | dumpObjectInfo () |
|
void | dumpObjectTree () |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
T | findChild (const QString &name) const |
|
QList< T > | findChildren (const QRegExp ®Exp) const |
|
QList< T > | findChildren (const QString &name) const |
|
bool | inherits (const char *className) const |
|
void | insertChild (QObject *object) |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isA (const char *className) const |
|
bool | isWidgetType () const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const |
|
void | moveToThread (QThread *targetThread) |
|
const char * | name () const |
|
const char * | name (const char *defaultName) const |
|
QString | objectName () const |
|
QObject * | parent () const |
|
QVariant | property (const char *name) const |
|
void | removeChild (QObject *object) |
|
void | removeEventFilter (QObject *obj) |
|
void | setName (const char *name) |
|
void | setObjectName (const QString &name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | signalsBlocked () const |
|
int | startTimer (int interval) |
|
QThread * | thread () const |
|
|
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
QByteArray | normalizeSignalSlot (const char *signalSlot) |
|
| objectName |
|
Definition at line 37 of file treeitem.h.
◆ ~TreeItem()
◆ TreeItem()
Creates a tree item with the specified data.
FIXME: do we actually have to have the model pointer.
Definition at line 31 of file treeitem.cpp.
◆ allChildrenFetched
void KDevelop::TreeItem::allChildrenFetched |
( |
| ) |
|
|
signal |
◆ appendChild()
void TreeItem::appendChild |
( |
TreeItem * |
child, |
|
|
bool |
initial = false |
|
) |
| |
|
protected |
Adds a new child and notifies the interested parties.
Clears the "hasMore" flag.
Definition at line 51 of file treeitem.cpp.
◆ child()
◆ childCount()
int TreeItem::childCount |
( |
| ) |
const |
|
protected |
◆ clear()
◆ clicked()
virtual void KDevelop::TreeItem::clicked |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ collapsed
void KDevelop::TreeItem::collapsed |
( |
| ) |
|
|
signal |
◆ columnCount()
int TreeItem::columnCount |
( |
| ) |
const |
|
protected |
◆ data()
QVariant TreeItem::data |
( |
int |
column, |
|
|
int |
role |
|
) |
| const |
|
protectedvirtual |
◆ deleteChildren()
void TreeItem::deleteChildren |
( |
| ) |
|
|
protected |
◆ emitAllChildrenFetched()
void TreeItem::emitAllChildrenFetched |
( |
| ) |
|
◆ expanded
void KDevelop::TreeItem::expanded |
( |
| ) |
|
|
signal |
◆ fetchMoreChildren()
virtual void KDevelop::TreeItem::fetchMoreChildren |
( |
| ) |
|
|
pure virtual |
Fetches more children, and adds them by calling appendChild.
The amount of children to fetch is up to the implementation. After fetching, should call setHasMore.
Implemented in KDevelop::VariablesRoot, and KDevelop::TooltipRoot.
◆ hasMore()
bool KDevelop::TreeItem::hasMore |
( |
| ) |
const |
|
inlineprotected |
◆ icon()
QVariant KDevelop::TreeItem::icon |
( |
int |
column | ) |
const |
|
protectedvirtual |
◆ insertChild()
void TreeItem::insertChild |
( |
int |
position, |
|
|
TreeItem * |
child, |
|
|
bool |
initial = false |
|
) |
| |
|
protected |
◆ isExpanded()
bool KDevelop::TreeItem::isExpanded |
( |
| ) |
const |
|
inlineprotected |
◆ model()
◆ parent()
◆ removeChild()
void TreeItem::removeChild |
( |
int |
index | ) |
|
|
protected |
◆ removeSelf()
void TreeItem::removeSelf |
( |
| ) |
|
|
protected |
◆ reportChange() [1/2]
void TreeItem::reportChange |
( |
| ) |
|
|
protected |
Report change in data of this item.
Definition at line 89 of file treeitem.cpp.
◆ reportChange() [2/2]
void KDevelop::TreeItem::reportChange |
( |
int |
column | ) |
|
|
protected |
◆ row()
int TreeItem::row |
( |
| ) |
const |
|
protected |
◆ setColumn()
virtual void KDevelop::TreeItem::setColumn |
( |
int |
index, |
|
|
const QVariant & |
data |
|
) |
| |
|
inlinevirtual |
◆ setData()
Set the data to be shown for the item itself.
Definition at line 46 of file treeitem.cpp.
◆ setExpanded()
void KDevelop::TreeItem::setExpanded |
( |
bool |
b | ) |
|
|
protected |
◆ setHasMore()
void TreeItem::setHasMore |
( |
bool |
more | ) |
|
|
protected |
Sets a flag that tells if we have some more children that are not fetched yet.
Definition at line 212 of file treeitem.cpp.
◆ setHasMoreInitial()
void TreeItem::setHasMoreInitial |
( |
bool |
more | ) |
|
|
protected |
◆ childItems
◆ ellipsis_
◆ expanded_
bool KDevelop::TreeItem::expanded_ |
|
protected |
◆ itemData
◆ model_
◆ more_
bool KDevelop::TreeItem::more_ |
|
protected |
◆ parentItem
TreeItem* KDevelop::TreeItem::parentItem |
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Mar 7 2021 23:28:59 by
doxygen 1.8.16 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.