You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
whellvalue/src/tpMain/qsaveresult.h

28 lines
614 B
C++

#ifndef QSAVERESULT_H
#define QSAVERESULT_H
#include <QObject>
class Result2Ui;
class CChannelInfo;
class DetectDataDB;
class QSaveResult : public QObject
{
Q_OBJECT
public:
QSaveResult(QObject *parent =0);
~QSaveResult();
void setAppRootPath(QString strPath){ m_strPath = strPath; };
void setDBPtr(DetectDataDB* pDB, CChannelInfo *pChannel){ m_db = pDB; m_pChannel = pChannel; };
public slots:
void doWork(Result2Ui *pResult);
signals:
void resultReady(Result2Ui *pResult);
private:
QString m_strPath;
DetectDataDB *m_db{ nullptr };
CChannelInfo *m_pChannel{ nullptr };
};
#endif // QSAVERESULT_H