Improvement: initial implementation of profiles json IO.

This commit is contained in:
Filippo Scognamiglio
2014-12-26 02:54:38 +01:00
parent c7fbe591ba
commit 88079a3ee4
6 changed files with 126 additions and 3 deletions

21
app/fileio.h Normal file
View File

@@ -0,0 +1,21 @@
#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