11 lines
260 B
C++
11 lines
260 B
C++
#pragma once
|
|
|
|
#include <QIODevice>
|
|
|
|
|
|
/**
|
|
* 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);
|