Review Request 109001: Avoid using std::string where possible

Thiago Macieira thiago at
Sun Feb 17 23:10:17 UTC 2013

This is an automatically generated e-mail. To reply, visit:

(Updated Feb. 17, 2013, 11:10 p.m.)

Review request for KDE Edu and Andreas Cord-Landwehr.


QString::toStdString() is more expensive than QString::toLatin1()
since it must go through the "codec for C strings" codec and it must
use std::string. Without C++11, it has no move semantics.


  RocsCore/Data.cpp c0c3fe8 
  RocsCore/DataStructure.cpp 6277081 
  RocsCore/DataStructures/LinkedList/ListStructure.cpp f510d66 
  RocsCore/LoadSave/Plugins/gmlFileFormat/CMakeLists.txt 651f89b 
  RocsCore/Modifiers/ValueModifier.cpp 90e26bb 
  RocsCore/Pointer.cpp f1f171f 
  VisualEditor/Scene/DataItem.cpp 8be7700 
  VisualEditor/Scene/PointerItem.cpp 8efe0ec 




Thiago Macieira

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-edu mailing list