Simplify interface of classes in ClassViewPlugin

Remove unused methods. Replace one slot with a call
to lambda.

Amends a673fca144

Task-number: QTCREATORBUG-25317
Change-Id: I1125b62b9ea66b8dc43038a6b748d52a5a27224f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Jarek Kobus
2021-02-08 16:52:42 +01:00
parent 30d4f7b48c
commit 1b9c0c7ef5
4 changed files with 8 additions and 63 deletions

View File

@@ -54,18 +54,10 @@ public:
void addSymbolLocation(const SymbolLocation &location);
void addSymbolLocation(const QSet<SymbolLocation> &locations);
void removeSymbolLocation(const SymbolLocation &location);
void removeSymbolLocations(const QSet<SymbolLocation> &locations);
QSet<SymbolLocation> symbolLocations() const;
void appendChild(const ParserTreeItem::Ptr &item, const SymbolInformation &inf);
void removeChild(const SymbolInformation &inf);
ParserTreeItem::Ptr child(const SymbolInformation &inf) const;
int childCount() const;