diff --git a/taskbusplatform/core/tasknode.cpp b/taskbusplatform/core/tasknode.cpp index 2a8ae5b7ef7e2bbb62e7bd9fffa1f4d92e52c62e..cb264748b47b448b050bd334cbfc2eb9ddf0735e 100644 --- a/taskbusplatform/core/tasknode.cpp +++ b/taskbusplatform/core/tasknode.cpp @@ -21,25 +21,23 @@ taskNode::taskNode(QObject *parent) ,m_nBatchTime(taskCell::default_batchtime) { connect(m_process,&QProcess::started,this, - &taskNode::sig_pro_started,Qt::QueuedConnection); + &taskNode::sig_pro_started/*,Qt::QueuedConnection*/); connect(m_process,&QProcess::started,this, - &taskNode::slot_started,Qt::QueuedConnection); + &taskNode::slot_started/*,Qt::QueuedConnection*/); connect(m_process, static_cast (&QProcess::finished), - this,&taskNode::sig_pro_stopped,Qt::QueuedConnection); + this,&taskNode::sig_pro_stopped/*,Qt::QueuedConnection*/); connect(m_process, static_cast (&QProcess::finished), - this,&taskNode::slot_stopped,Qt::QueuedConnection); + this,&taskNode::slot_stopped/*,Qt::QueuedConnection*/); connect(m_process,&QProcess::readyReadStandardOutput,this, - &taskNode::slot_readyReadStandardOutput,Qt::QueuedConnection); + &taskNode::slot_readyReadStandardOutput/*,Qt::QueuedConnection*/); connect(m_process,&QProcess::readyReadStandardError,this, - &taskNode::slot_readyReadStandardError,Qt::QueuedConnection); + &taskNode::slot_readyReadStandardError/*,Qt::QueuedConnection*/); connect(m_process,&QProcess::bytesWritten,this, &taskNode::slot_sended); - connect(this,&taskNode::private_sig_nextcab,this, - &taskNode::slot_readyReadStandardOutput,Qt::QueuedConnection); connect(this,&taskNode::sig_new_package,this,&taskNode::slot_write,Qt::QueuedConnection); m_nBp_TimerID = startTimer(200); } diff --git a/taskbusplatform/core/tasknode.h b/taskbusplatform/core/tasknode.h index 349926355b097833f4b865629c9700daf4727261..8421ff78f13a24c5bc6a4e4d379b35f228797761 100644 --- a/taskbusplatform/core/tasknode.h +++ b/taskbusplatform/core/tasknode.h @@ -41,8 +41,6 @@ signals: void sig_new_package(); void sig_new_errmsg(QByteArrayList); void sig_iostat(qint64 pid,quint64 pr,quint64 ps,quint64 br, quint64 bs); - void private_sig_nextcab(); - void private_sig_nextwrite(); public slots: void setDebug(bool bdbg){m_bDebug = bdbg;} bool cmd_start(QObject * node,QString cmd, QStringList paras);