Description
It would be some usefull if QDir (and optionally QFile) will have static method like QDir::separator() but for splitting string to list of paths.
for exmaple "/bin:/usr/bin" can be spliited to "/bin" and "/usr/bin" with path separator ':'. under mswindows path separator will be ';'.
so, such method can be looks like this:
/*static*/ QChar QDir::pathSeparator() { #if defined(Q_OS_WIN) return QLatin1Char(';'); #elif defined (Q_FS_FAT) || defined(Q_WS_WIN) return QLatin1Char(':'); #else //returns something else (?) #endif }