#pragma once #include /** * convert a string representing a file mode to the corresponding Qt flags. * @param modeString the mode as a string * @return the mode as a flag */ QIODevice::OpenMode fileModeFromString(const QString& modeString);