Add completion for function signatures.

You now get the function parameters as a completion suggestion when
declaring or defining a function. The tooltip for function calls
is unchanged.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
(cherry picked from commit 202fef42ca)
This commit is contained in:
Christian Kamm
2009-10-19 14:14:28 +02:00
parent 56f755efe8
commit e3479d9942
2 changed files with 79 additions and 4 deletions

View File

@@ -114,7 +114,8 @@ private:
bool completeInclude(const QTextCursor &cursor);
bool completeConstructorOrFunction(const QList<CPlusPlus::TypeOfExpression::Result> &,
const CPlusPlus::LookupContext &);
const CPlusPlus::LookupContext &,
int endOfExpression);
bool completeMember(const QList<CPlusPlus::TypeOfExpression::Result> &,
const CPlusPlus::LookupContext &context);