CppEditor: Ensure utf8 encoded working copy from the preprocessor dialog

Change-Id: Ifbc2adeff83cbef9841da872e15a5b9dd8379a3d
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Debugger: Do not mark unchanged items as changed in options page

Task-number: QTCREATORBUG-10642

Change-Id: Iff195abb90283ee731fe33acb75bcacd6d158e04
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
CppEditor: Prioritize inserting function def. in source file

For the quick fix InsertDefOperation ("Add Definition ...") the order of
the offered operations is reversed to better support the typical use
case of inserting the definition in the corresponding source file.

Change-Id: I0cc502663c43fdeb4773a99d2cd5ae8ddf62f9f0
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
C++: Remember the class a ClassOrNamespace is based on

Change-Id: I0d333ff9489e46c4fa1923d70ca950f67ffa3f44
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
CppEditor: Handle classes that do not override

...when searching the overrides for virtual functions.

In case there is no override for the static type of a function call
expression, make sure to:

1) include the last provided override (look up bases)
2) and all overrides whose classes are derived from that static type

Task-number: QTCREATORBUG-10470

Change-Id: I2c01bfdc6cb35c5a01a000ebd81a2b322ce2b795
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Debugger: Keep changes on options page

Keep changes on options page when switching between different
debuggers.

Only apply those changes on "Apply" and "OK", but do not loose them
till those buttons are pressed.

Change-Id: I4c4c583e7438802782b31bbfa92c5c09b51d824a
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Debugger: Trim ABI list for GDB based debuggers

Do not end up appending to the existing list of ABIs when reinitializing
GDB debuggers.

Task-number: QTCREATORBUG-10642
Change-Id: Ic023f1fa269dbc05c0a44c3acf2cc8dd22f0565c
Reviewed-by: Christian Stenger <christian.stenger@digia.com>