Example #1
0
/*
 * Set and send Job status to Director
 */
bool JCR::sendJobStatus(int newJobStatus)
{
    JCR *jcr = this;
    if (!jcr->is_JobStatus(newJobStatus)) {
        setJobStatus(newJobStatus);
        if (jcr->dir_bsock) {
            return jcr->dir_bsock->fsend(Job_status, jcr->Job, jcr->JobStatus);
        }
    }
    return true;
}
Example #2
0
VideosWidget::VideosWidget(QWidget *parent)
:QWidget(parent)
{
    m_uiVideosWidget.setupUi(this);
    setJobStatus(true);
}