mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2024-08-26 00:00:33 +02:00
22 lines
324 B
C++
22 lines
324 B
C++
#ifndef FILEIO_H
|
|
#define FILEIO_H
|
|
|
|
#include <QObject>
|
|
#include <QFile>
|
|
#include <QTextStream>
|
|
#include <QUrl>
|
|
|
|
class FileIO : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
FileIO();
|
|
|
|
public slots:
|
|
bool write(const QString& sourceUrl, const QString& data);
|
|
QString read(const QString& sourceUrl);
|
|
};
|
|
|
|
#endif // FILEIO_H
|