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

31 lines
663 B
C

5 years ago
#ifndef QSAVERESULT_H
#define QSAVERESULT_H
#include <QObject>
class Result2Ui;
class QSqliteApplication;
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);
void doTest();
signals:
void resultReady(Result2Ui *pResult);
private:
QString m_strPath;
//QSqliteApplication *m_db;
DetectDataDB *m_db;
CChannelInfo *m_pChannel;
};
#endif // QSAVERESULT_H