mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-18 20:20:45 +00: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
|