kdevplatform/debugger
#include <variablecollection.h>

Public Types | |
enum | format_t { Natural, Binary, Octal, Decimal, Hexadecimal } |
Public Slots | |
void | die () |
Public Member Functions | |
~Variable () override | |
void | appendChild (TreeItem *child, bool initial=false) |
virtual void | attachMaybe (QObject *callback=nullptr, const char *callbackMethod=nullptr)=0 |
virtual bool | canSetFormat () const |
void | deleteChildren () |
QString | expression () const |
format_t | format () const |
virtual void | formatChanged () |
bool | inScope () const |
bool | isChanged () const |
bool | isExpanded () const |
TreeModel * | model () |
TreeItem * | parent () |
void | resetChanged () |
void | setChanged (bool c) |
void | setFormat (format_t format) |
void | setHasMore (bool more) |
void | setHasMoreInitial (bool more) |
void | setInScope (bool v) |
void | setShowError (bool v) |
void | setTopLevel (bool v) |
void | setType (const QString &type) |
void | setValue (const QString &v) |
bool | showError () |
QString | type () const |
QString | value () const |
![]() | |
~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 |
Static Public Member Functions | |
static QString | format2str (format_t format) |
static format_t | str2format (const QString &str) |
![]() | |
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) |
Protected Member Functions | |
Variable (TreeModel *model, TreeItem *parent, const QString &expression, const QString &display={}) | |
bool | topLevel () const |
![]() | |
TreeItem (TreeModel *model, TreeItem *parent=nullptr) | |
void | appendChild (TreeItem *child, bool initial=false) |
TreeItem * | child (int row) |
int | childCount () const |
void | clear () |
virtual void | clicked () |
int | columnCount () const |
void | deleteChildren () |
bool | hasMore () const |
virtual QVariant | icon (int column) const |
void | insertChild (int position, TreeItem *child, bool initial=false) |
bool | isExpanded () const |
TreeModel * | model () |
TreeItem * | parent () |
void | removeChild (int index) |
void | removeSelf () |
void | reportChange () |
void | reportChange (int column) |
int | row () const |
void | setData (const QVector< QVariant > &data) |
void | setExpanded (bool b) |
void | setHasMore (bool more) |
void | setHasMoreInitial (bool more) |
![]() | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Additional Inherited Members | |
![]() | |
void | allChildrenFetched () |
void | collapsed () |
void | expanded () |
![]() | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
![]() | |
QVector< TreeItem * > | childItems |
TreeItem * | ellipsis_ |
bool | expanded_ |
QVector< QVariant > | itemData |
TreeModel * | model_ |
bool | more_ |
TreeItem * | parentItem |
![]() | |
objectName | |
Detailed Description
Definition at line 48 of file variablecollection.h.
Member Enumeration Documentation
◆ format_t
Enumerator | |
---|---|
Natural | |
Binary | |
Octal | |
Decimal | |
Hexadecimal |
Definition at line 59 of file variablecollection.h.
Constructor & Destructor Documentation
◆ Variable()
|
protected |
Definition at line 67 of file variablecollection.cpp.
◆ ~Variable()
|
override |
Definition at line 146 of file variablecollection.cpp.
Member Function Documentation
◆ appendChild()
void TreeItem::appendChild |
Adds a new child and notifies the interested parties.
Clears the "hasMore" flag.
Definition at line 51 of file treeitem.cpp.
◆ attachMaybe()
|
pure virtual |
◆ canSetFormat()
|
inlinevirtual |
Definition at line 92 of file variablecollection.h.
◆ deleteChildren()
void TreeItem::deleteChildren |
Definition at line 118 of file treeitem.cpp.
◆ die
|
slot |
Definition at line 150 of file variablecollection.cpp.
◆ expression()
QString KDevelop::Variable::expression | ( | ) | const |
Definition at line 86 of file variablecollection.cpp.
◆ format()
|
inline |
Definition at line 95 of file variablecollection.h.
◆ format2str()
Definition at line 184 of file variablecollection.cpp.
◆ formatChanged()
|
virtual |
Definition at line 205 of file variablecollection.cpp.
◆ inScope()
bool KDevelop::Variable::inScope | ( | ) | const |
Definition at line 91 of file variablecollection.cpp.
◆ isChanged()
|
inline |
Definition at line 99 of file variablecollection.h.
◆ isExpanded()
|
inline |
Definition at line 92 of file treeitem.h.
◆ model()
|
inline |
Definition at line 90 of file treeitem.h.
◆ parent()
TreeItem * TreeItem::parent |
Definition at line 172 of file treeitem.cpp.
◆ resetChanged()
void KDevelop::Variable::resetChanged | ( | ) |
Definition at line 163 of file variablecollection.cpp.
◆ setChanged()
void KDevelop::Variable::setChanged | ( | bool | c | ) |
Definition at line 157 of file variablecollection.cpp.
◆ setFormat()
void KDevelop::Variable::setFormat | ( | Variable::format_t | format | ) |
Definition at line 197 of file variablecollection.cpp.
◆ setHasMore()
void TreeItem::setHasMore |
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 |
Definition at line 240 of file treeitem.cpp.
◆ setInScope()
void KDevelop::Variable::setInScope | ( | bool | v | ) |
Definition at line 123 of file variablecollection.cpp.
◆ setShowError()
void KDevelop::Variable::setShowError | ( | bool | v | ) |
Definition at line 134 of file variablecollection.cpp.
◆ setTopLevel()
void KDevelop::Variable::setTopLevel | ( | bool | v | ) |
Definition at line 118 of file variablecollection.cpp.
◆ setType()
void KDevelop::Variable::setType | ( | const QString & | type | ) |
Definition at line 107 of file variablecollection.cpp.
◆ setValue()
void KDevelop::Variable::setValue | ( | const QString & | v | ) |
Definition at line 96 of file variablecollection.cpp.
◆ showError()
bool KDevelop::Variable::showError | ( | ) |
Definition at line 140 of file variablecollection.cpp.
◆ str2format()
|
static |
Definition at line 174 of file variablecollection.cpp.
◆ topLevel()
|
inlineprotected |
Definition at line 107 of file variablecollection.h.
◆ type()
QString KDevelop::Variable::type | ( | ) | const |
Definition at line 113 of file variablecollection.cpp.
◆ value()
QString KDevelop::Variable::value | ( | ) | const |
Definition at line 102 of file variablecollection.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Mar 3 2021 00:36:55 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.