Mark unused parameters/fields with Q_UNUSED.

Change-Id: I3a26cb2f843e3f181d244ca858602251cda9f01e
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Remove unused variables.

These produce warnings with -Wunused-const-variable.

Change-Id: I897446cfd019c5328e3b1962f16a2190af37959d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
CppEditor: Fix jump behavior in outline sidebar

Before, we jumped to a symbol as soon as the selection changed, which
was problematic:
 * It was inconsistent to other outlines (e.g. class view, project
   explorer)
 * Using the Up/Down keys in the sidebar immediately jumped to the
   symbol in the editor, thus polluting the editor history.

Now we jump to a symbol if the corresponding item was explicitly
activated (QAbstractItemView::activated() signal).

There was also another strange issue: If "Synchronize with Editor" was
de-activated, nothing happened upon activation/selection of an item. Now
"Synchronize with Editor" means to update the selection in the side bar
if the cursor position changes in the editor (one direction only).

Task-number: QTCREATORBUG-12412
Change-Id: I8d9191d5fa8e229723194dcf30081e144debecbb
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
QmlDesigner: Adjusting text

Step into describes better what the operation does.

Change-Id: Ia3da0b68b9d1e2b572dfa591124704e7c9ef336c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>