QtHPConnect/eventthread.h
2019-03-09 16:39:38 +02:00

23 lines
336 B
C++

#ifndef EVENTTHREAD_H
#define EVENTTHREAD_H
#include <QThread>
#include "hpusb.h"
class MainWindow;
class EventThread : public QObject
{
Q_OBJECT
private:
MainWindow * main;
hpusb * hpapi;
public:
EventThread(MainWindow * parent);
public slots:
void timerEvent();
void start();
};
#endif // EVENTTHREAD_H