Changeset View
Changeset View
Standalone View
Standalone View
language/duchain/navigation/usescollector.h
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | 35 | public: | |||
---|---|---|---|---|---|
83 | QList<IndexedDeclaration> declarations(); | 83 | QList<IndexedDeclaration> declarations(); | ||
84 | Q_SIGNALS: | 84 | Q_SIGNALS: | ||
85 | ///@see maximumProgress() | 85 | ///@see maximumProgress() | ||
86 | void maximumProgressSignal(uint); | 86 | void maximumProgressSignal(uint); | ||
87 | ///@see progress() | 87 | ///@see progress() | ||
88 | void progressSignal(uint, uint); | 88 | void progressSignal(uint, uint); | ||
89 | ///@see processUses() | 89 | ///@see processUses() | ||
90 | void processUsesSignal(KDevelop::ReferencedTopDUContext); | 90 | void processUsesSignal(KDevelop::ReferencedTopDUContext); | ||
91 | private slots: | 91 | private Q_SLOTS: | ||
92 | void updateReady(KDevelop::IndexedString url, KDevelop::ReferencedTopDUContext topContext); | 92 | void updateReady(KDevelop::IndexedString url, KDevelop::ReferencedTopDUContext topContext); | ||
93 | private: | 93 | private: | ||
94 | ///Called with every top-context that can contain uses of the declaration, or if setProcessDeclarations(false) | 94 | ///Called with every top-context that can contain uses of the declaration, or if setProcessDeclarations(false) | ||
95 | ///has not been called also with all contexts that contain declarations used as base for the search. | 95 | ///has not been called also with all contexts that contain declarations used as base for the search. | ||
96 | ///Override this to do your custom processing. You do not need to recurse into imports, that's done for you. | 96 | ///Override this to do your custom processing. You do not need to recurse into imports, that's done for you. | ||
97 | ///The duchain is not locked when this is called. | 97 | ///The duchain is not locked when this is called. | ||
98 | virtual void processUses(KDevelop::ReferencedTopDUContext topContext) = 0; | 98 | virtual void processUses(KDevelop::ReferencedTopDUContext topContext) = 0; | ||
99 | 99 | | |||
Show All 31 Lines |