summaryrefslogblamecommitdiffstats
path: root/src/consoleworker.h
blob: 276f9873152e29fd654cf8eca0675049ff0733a6 (plain) (tree)

































                                                                         
#ifndef _CONSOLEWORKER_H_
#define _CONSOLEWORKER_H_

#include "datasource/idatasource.h"
#include "copythread.h"

#include <QString>
#include <QTimer>
#include <QVector>

class CopyThread;

class ConsoleWorker : public QObject
{
    Q_OBJECT

public:
    ConsoleWorker(QString fileName);
    virtual ~ConsoleWorker();

private slots:
        void logMessage(CopyThread::LogMessageId msgId, QString message);
        void testFinished();
        void updateTimer();

private:
        CopyThread *_thread;
        QString _fileName;
        QTimer _timer;
        IDataSource* _networkSource;
        QVector<int> _series;
};

#endif