Root/Software/sie_cg/callapp.h

1#ifndef CALLAPP_H
2#define CALLAPP_H
3
4#include <QWidget>
5#include <QtCore>
6
7class callApp : public QWidget
8{
9Q_OBJECT
10public:
11    explicit callApp(QString,QWidget *parent = 0);
12    QString readData()
13        { return data;}
14    bool isRuning();
15    void writeData(QString);
16
17signals:
18    void newData();
19    void appClosed();
20
21public slots:
22    void newStderr();
23    void newStdout();
24    void deleteProcess();
25
26private:
27    QProcess * myProcess;
28    QString data;
29};
30
31#endif // CALLAPP_H
32

Archive Download this file

Branches:
master



interactive