- QProcess *process() const;
-
- QString fileName() const;
- void setFileName(const QString &name);
-
- bool isBenchmarking() const;
- void setBenchmarking(bool bench);
-
- bool isDoubleBuffered() const;
- void setDoubleBuffered(bool db);
-
- void setCaptureAtCallNumber(qlonglong num);
- qlonglong captureAtCallNumber() const;
-
- bool captureState() const;
- void setCaptureState(bool enable);
-
-public slots:
- void start();
- void terminate();
-
-signals:
- void finished(const QString &output);
- void error(const QString &msg);
- void foundState(ApiTraceState *state);
- void retraceErrors(const QList<RetraceError> &errors);
-
-private slots:
- void replayFinished();
- void replayError(QProcess::ProcessError err);
-
-private:
- QString m_fileName;
- bool m_benchmarking;
- bool m_doubleBuffered;
- bool m_captureState;
- qlonglong m_captureCall;
-
- QProcess *m_process;
- QJson::Parser *m_jsonParser;
-};