view libqterminal/unix/SelfListener.h @ 15664:bc807a4a31ab

Applied patch for building under ArchLinux.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Wed, 02 May 2012 21:33:09 +0200
parents 845cebf281aa
children aa6cba8ae88b
line wrap: on
line source

#ifndef SELFLISTENER_H
#define SELFLISTENER_H

#include <QThread>
#include <unistd.h>

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