2021-01-22 21:45:10 +00:00
|
|
|
#include <QDebug>
|
|
|
|
#include "textfile.h"
|
|
|
|
|
|
|
|
TextFile::TextFile(QByteArray data) : GenericFile(data)
|
|
|
|
{
|
|
|
|
if (!data.isEmpty()) {
|
|
|
|
setData(data);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void TextFile::setData(QByteArray data)
|
|
|
|
{
|
|
|
|
m_data = data;
|
|
|
|
}
|
|
|
|
|
|
|
|
void TextFile::dump()
|
|
|
|
{
|
|
|
|
}
|