#include < iostream >
#include < QApplication >
#include < QThread >
#include < QString >
class Thread : public QThread {
public:
Thread(QString name = "") {
stopped = false;
this->name = name;
}
void run() {
while (!stopped) {
#include < QApplication >
#include < QThread >
#include < QString >
class Thread : public QThread {
public:
Thread(QString name = "") {
stopped = false;
this->name = name;
}
void run() {
while (!stopped) {