CppEditor: Jump directly to single virtual function

Assumption: model never has 1 entry for immediate result
(there is always the natural result + "Searching for overrides"

Change-Id: I5de7e7933b1309f995a6111a2ab1c7aed31c086e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Orgad Shaneh
2014-02-16 22:05:23 +02:00
committed by Orgad Shaneh
parent 0357531796
commit d087d0b66e
3 changed files with 18 additions and 0 deletions

View File

@@ -37,6 +37,7 @@
namespace TextEditor {
class GenericProposalWidgetPrivate;
class IGenericProposalModel;
class TEXTEDITOR_EXPORT GenericProposalWidget : public IAssistProposalWidget
{
@@ -72,6 +73,7 @@ private slots:
protected:
bool eventFilter(QObject *o, QEvent *e);
bool activateCurrentProposalItem();
IGenericProposalModel *model();
private:
GenericProposalWidgetPrivate *d;