19 lines
234 B
C++
19 lines
234 B
C++
#ifndef AMPEL_H
|
|
#define AMPEL_H
|
|
#include <QtCore>
|
|
|
|
class Ampel:public QThread
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
Ampel();
|
|
void setStop();
|
|
protected:
|
|
void run();
|
|
bool running;
|
|
signals:
|
|
void ampelUpdate();
|
|
};
|
|
|
|
#endif // AMPEL_H
|