Replace QString to std::string where possible