#ifndef AMPEL_H #define AMPEL_H #include class Ampel:public QThread { Q_OBJECT public: Ampel(); void setStop(); protected: void run(); bool running; signals: void ampelUpdate(); }; #endif // AMPEL_H