mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
25 lines
377 B
C++
25 lines
377 B
C++
#ifndef NONBLOCKEDINPUT_H
|
|
#define NONBLOCKEDINPUT_H
|
|
|
|
#include <QTextStream>
|
|
#include <QDebug>
|
|
#include <QThread>
|
|
|
|
class NonBlockedInput : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit NonBlockedInput(QObject* parent = nullptr);
|
|
|
|
private:
|
|
QThread thread;
|
|
|
|
signals:
|
|
void LineIsRead(QString line);
|
|
private slots:
|
|
void ReadLine();
|
|
};
|
|
|
|
#endif // NONBLOCKEDINPUT_H
|