replaced QString with std::string where possible