kdevplatform/language/duchain
#include <useswidget.h>

Public Member Functions | |
UsesWidgetCollector (IndexedDeclaration decl) | |
void | maximumProgress (uint max) override |
void | processUses (KDevelop::ReferencedTopDUContext topContext) override |
void | progress (uint processed, uint total) override |
void | setWidget (UsesWidget *widget) |
![]() | |
UsesCollector (IndexedDeclaration declaration) | |
~UsesCollector () override | |
IndexedDeclaration | declaration () const |
QList< IndexedDeclaration > | declarations () |
bool | isReady () const |
void | setCollectConstructors (bool process) |
void | setCollectDefinitions (bool collectDefinition) |
void | setCollectOverloads (bool collect) |
void | setProcessDeclarations (bool process) |
virtual bool | shouldRespectFile (const IndexedString &url) |
void | startCollecting () |
![]() | |
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 |
Public Attributes | |
UsesWidget * | m_widget |
Additional Inherited Members | |
![]() | |
void | maximumProgressSignal (uint) |
void | processUsesSignal (const KDevelop::ReferencedTopDUContext &) |
void | progressSignal (uint, uint) |
![]() | |
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) |
![]() | |
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) |
![]() | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
![]() | |
objectName | |
Detailed Description
This class can be overridden to do additional processing while the uses-widget shows the uses.
Definition at line 161 of file useswidget.h.
Constructor & Destructor Documentation
◆ UsesWidgetCollector()
|
explicit |
Definition at line 676 of file useswidget.cpp.
Member Function Documentation
◆ maximumProgress()
|
overridevirtual |
Indicates the maximum progress this collector can make.
If zero is given, this collector is not going to do any progress, and progress(..) is never called.
Reimplemented from KDevelop::UsesCollector.
Definition at line 686 of file useswidget.cpp.
◆ processUses()
|
overridevirtual |
Called with every top-context that can contain uses of the declaration, or if setProcessDeclarations(false) has not been called also with all contexts that contain declarations used as base for the search.
Override this to do your custom processing. You do not need to recurse into imports, that's done for you. The duchain is not locked when this is called.
Implements KDevelop::UsesCollector.
Definition at line 724 of file useswidget.cpp.
◆ progress()
|
overridevirtual |
Called whenever progress has been made. max equals the value given initially by maximumProgress.
Reimplemented from KDevelop::UsesCollector.
Definition at line 701 of file useswidget.cpp.
◆ setWidget()
void UsesWidget::UsesWidgetCollector::setWidget | ( | UsesWidget * | widget | ) |
Definition at line 681 of file useswidget.cpp.
Member Data Documentation
◆ m_widget
UsesWidget* KDevelop::UsesWidget::UsesWidgetCollector::m_widget |
Definition at line 170 of file useswidget.h.
The documentation for this struct was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Jan 21 2021 23:35:47 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.