forked from qt-creator/qt-creator
Add methodIndex function
While not a complete feature, as it does not handle overloads, it is still an improvement on the current functionality. Would be a good interim measure until full functionality arrives. Change-Id: I947adc6a6dbccf676112ac77e186134fb660efd3 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -188,6 +188,7 @@ public:
|
||||
int methodCount() const;
|
||||
int methodOffset() const;
|
||||
FakeMetaMethod method(int index) const;
|
||||
int methodIndex(const QString &name) const; // Note: Returns any method with that name in case of overloads
|
||||
|
||||
QString defaultPropertyName() const;
|
||||
void setDefaultPropertyName(const QString &defaultPropertyName);
|
||||
|
||||
Reference in New Issue
Block a user