16#ifndef FILECONTROLLER_HPP
17#define FILECONTROLLER_HPP
27bool open(QFile &file, QIODevice::OpenMode mode);
28QString
read(QFile &file);
29bool write(QFile &file,
const QString &data);
30bool exists(
const QString &path);
Namespace containing file handling functions.
bool open(QFile &file, QIODevice::OpenMode mode)
Open a file.
bool exists(const QString &path)
Checks if a file exists.
QString read(QFile &file)
Reads a line from the file.
bool write(QFile &file, const QString &data)
Writes a line to the file.