C++ Macro Usages: Fix search result encoding and highlighting.
C++ Macro Usages: Fix search result encoding and highlighting.

If the result lines contain non-Latin1 characters (e.g. in comments),
the output is garbled. Using QByteArrays with toUtf8() and fromUtf8()
doesn't seem to be an alternative, as in this case the macro.offset() is
no longer valid.

So it seems to be the best to use QString for the result lines.

Task-number: QTCREATORBUG-7122
Change-Id: I57128c9c9f3eb182f079e305e97e9c5ac0a1bc61
Reviewed-by: Erik Verbruggen <5edfe905d082749f2ac3f4e6b42937f39f083771@digia.com>

darksylinc/qt-creator,martyone/sailfish-qtcreator,malikcjm/qtcreator,maui-packages/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,syntheticpp/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,syntheticpp/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,darksylinc/qt-creator,martyone/sailfish-qtcreator,malikcjm/qtcreator,maui-packages/qt-creator,duythanhphan/qt-creator,malikcjm/qtcreator,colede/qtcreator,danimo/qt-creator,xianian/qt-creator,richardmg/qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,malikcjm/qtcreator,syntheticpp/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,kuba1/qtcreator,maui-packages/qt-creator,malikcjm/qtcreator,darksylinc/qt-creator,Distrotech/qtcreator,malikcjm/qtcreator,xianian/qt-creator,colede/qtcreator,AltarBeastiful/qt-creator,omniacreator/qtcreator,richardmg/qtcreator,syntheticpp/qt-creator,omniacreator/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,omniacreator/qtcreator,AltarBeastiful/qt-creator,colede/qtcreator,amyvmiwei/qt-creator,kuba1/qtcreator,kuba1/qtcreator,kuba1/qtcreator,danimo/qt-creator,darksylinc/qt-creator,danimo/qt-creator,xianian/qt-creator,xianian/qt-creator,duythanhphan/qt-creator,maui-packages/qt-creator,omniacreator/qtcreator,martyone/sailfish-qtcreator,duythanhphan/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,maui-packages/qt-creator,danimo/qt-creator,colede/qtcreator,Distrotech/qtcreator,farseerri/git_code,xianian/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,malikcjm/qtcreator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,amyvmiwei/qt-creator,colede/qtcreator,darksylinc/qt-creator,kuba1/qtcreator,farseerri/git_code,colede/qtcreator,duythanhphan/qt-creator,amyvmiwei/qt-creator,darksylinc/qt-creator,Distrotech/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,omniacreator/qtcreator,richardmg/qtcreator,richardmg/qtcreator,omniacreator/qtcreator,syntheticpp/qt-creator,syntheticpp/qt-creator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,danimo/qt-creator,richardmg/qtcreator,syntheticpp/qt-creator,darksylinc/qt-creator,amyvmiwei/qt-creator,Distrotech/qtcreator,danimo/qt-creator,richardmg/qtcreator,farseerri/git_code,richardmg/qtcreator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,Distrotech/qtcreator,darksylinc/qt-creator,xianian/qt-creator,omniacreator/qtcreator,farseerri/git_code,colede/qtcreator,martyone/sailfish-qtcreator