C++ (Qt)static QString invertSlash (QString str){ return str.replace ("/", "\\");}
static QString invertSlash (const QString &str){ return QString(str).replace("/", "\\");}