Newer
Older
*
* @author Akira Ohgaki <akiraohgaki@gmail.com>
* @copyright Akira Ohgaki
explicit File(const QString &path = "", QObject *parent = 0);
QString path() const;
void setPath(const QString &path);
bool exists();
QByteArray readData();
bool writeData(const QByteArray &data);
QString readText();
bool writeText(const QString &data);
bool copy(const QString &newPath);
bool move(const QString &newPath);
bool remove();
private:
QString path_;
};