view libqterminal/unix/SelfListener.h @ 15651:845cebf281aa

Added files of QConsole.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Mon, 30 Jan 2012 11:23:13 +0100
parents
children bc807a4a31ab
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