CppEditor: Make test_FollowSymbolUnderCursor_QObject_connect more realistic

...by providing the necessary definitions.

Currently this does not has any effect since function-like macros are
not expanded for the semantic document. This might change, therefore we
adapt this test.

Change-Id: I7de4fdecac7b7504da7389ab216b7349ea53d7be
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Make tree view find work with models that use (can)fetchMore

As opt-in functionality. Only works if fetching is synchronous.

Change-Id: Ie13d722e97188663e2a1fe992ef039dbac7fe2c6
Reviewed-by: Daniel Teske <daniel.teske@digia.com>