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