Utils: bring QtConcurrent::run into the current century.
Utils: bring QtConcurrent::run into the current century.

.. by adding support to pass in a std::function (which includes lambdas)
as the function to run. The run function only takes functors that have
a QFutureInterface& as parameter, because a lambda can already capture
anything that would be passed in on invocation. Parameter-less
std::function<>s are already handled by QtConcurrent (in Qt).

To use it, you'll have to explicitly set the template parameter T on the
call.

Change-Id: Ie145fc3245d59fdea9d4703dab155ce9100eff89
Reviewed-by: Daniel Teske <d8a411aec9a206efedb4d45b75fe8d13f1e2b628@digia.com>

martyone/sailfish-qtcreator,Distrotech/qtcreator,amyvmiwei/qt-creator,kuba1/qtcreator,danimo/qt-creator,kuba1/qtcreator,xianian/qt-creator,amyvmiwei/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,xianian/qt-creator,kuba1/qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,danimo/qt-creator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,farseerri/git_code,danimo/qt-creator,farseerri/git_code,kuba1/qtcreator,Distrotech/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,kuba1/qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,xianian/qt-creator,Distrotech/qtcreator,danimo/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,danimo/qt-creator,Distrotech/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,xianian/qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,farseerri/git_code,kuba1/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,Distrotech/qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator