CppEditor: Fix build with namespaced Qt.

Change-Id: Id5a2dce79b27c8c4599d7cdc0935064f5db44f13
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>