mirror of
https://github.com/Indy970/QtHPConnect
synced 2024-11-17 07:49:02 +01:00
24 lines
336 B
C
24 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
|