QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QProcess.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QPROCESS_H
2 #define QTSCRIPTSHELL_QPROCESS_H
3 
4 #include <qprocess.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QProcess : public QProcess
9 {
10 public:
11  QtScriptShell_QProcess(QObject* parent = 0);
13 
14  bool atEnd() const;
15  qint64 bytesAvailable() const;
16  qint64 bytesToWrite() const;
17  bool canReadLine() const;
18  void childEvent(QChildEvent* arg__1);
19  void close();
20  void customEvent(QEvent* arg__1);
21  bool event(QEvent* arg__1);
22  bool eventFilter(QObject* arg__1, QEvent* arg__2);
23  bool isSequential() const;
24  bool open(QIODevice::OpenMode mode);
25  qint64 pos() const;
26  qint64 readData(char* data, qint64 maxlen);
27  qint64 readLineData(char* data, qint64 maxlen);
28  bool reset();
29  bool seek(qint64 pos);
30  void setupChildProcess();
31  qint64 size() const;
32  void timerEvent(QTimerEvent* arg__1);
33  bool waitForBytesWritten(int msecs = 30000);
34  bool waitForReadyRead(int msecs = 30000);
35  qint64 writeData(const char* data, qint64 len);
36 
37  QScriptValue __qtscript_self;
38 };
39 
40 #endif // QTSCRIPTSHELL_QPROCESS_H