1 #include "processhandler.h" 3 ProcessHandler::ProcessHandler(QObject *parent) : QObject(parent)
5 setChildProcess(
new QProcess(
this));
9 void ProcessHandler::start(QString cmd, QStringList lst)
11 m_childProcess->start(cmd, lst);
16 QProcess *ProcessHandler::childProcess()
const 18 return m_childProcess;
21 void ProcessHandler::setChildProcess(QProcess *childProcess)
27 m_childProcess = childProcess;