What is the reason for the choice of API below:
QString QString::fromStdString(const std::string & str) [static]
Why is there a need for calling a static function when we could have a constructor as follows:
QString::QString(const std::string & str)
There are similar constructors for the c string representation (char*), std::string being the exception. What is the reason for that?
pattern...