36 lines
632 B
C++
36 lines
632 B
C++
#ifndef ARRAYTOFLIERUNNABLE_H
|
|
#define ARRAYTOFLIERUNNABLE_H
|
|
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QRunnable>
|
|
#include <QString>
|
|
#include <QDateTime>
|
|
#include <QDebug>
|
|
#include <QImage>
|
|
#include <QMetaType>
|
|
#include <QPixmap>
|
|
#include <QFile>
|
|
|
|
class ArrayToFlieRunnable: public QObject, public QRunnable
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ArrayToFlieRunnable(QByteArray DataArray , QString FileName);
|
|
~ArrayToFlieRunnable();
|
|
void run();
|
|
QByteArray DataArray;
|
|
QString FileName;
|
|
QString IP;
|
|
signals:
|
|
void log(QString log);
|
|
void SmallIMG( QPixmap pix , QString IP);
|
|
|
|
};
|
|
|
|
#endif // ARRAYTOFLIERUNNABLE_H
|
|
|
|
|
|
|