Mercurial > octave-nkf
view libqterminal/SelfListener.h @ 15643:aeab072c37a9
Removed code that forked a process. Instead, connected pty directly to parent process.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Wed, 25 Jan 2012 01:53:46 +0100 |
parents | |
children |
line wrap: on
line source
#ifndef SELFLISTENER_H #define SELFLISTENER_H #include <QThread> class SelfListener : public QThread { Q_OBJECT public: explicit SelfListener(int a, QObject *parent = 0); signals: void recvData(const char* stdOutBuffer, int stdOutlen); public slots: protected: void run(); int _a; }; #endif // SELFLISTENER_H