serialseq.cpp
/**
 * @brief serialSeq::stopAllSequences
 *
 * This function stops all the started sequences.
 */
@brief serialSeq::stopAllSequences
This function stops all the started sequences.
@brief serialSeq :: stopAllSequences This function stops all the started sequences .
void serialSeq::stopAllSequences()
{
    qDebug() << "stopping all sequences! size: " << serialSeqList.size();
    int it = 0;
    while(it != this->serialSeqList.size())
    {
        if(serialSeqList[it].sender != NULL)
        {
            serialSeqList[it].sender->finishWork();
            serialSeqList[it].sender = NULL;
        }
        serialSeqList[it].button->setIcon(QIcon("/home/rcetin/workspace/qt_projects/pipo/img/st_seq.png"));
        serialSeqList[it].status = 0;
        it++;
    }
}
void serialSeq :: stopAllSequences ( ) { qDebug ( ) << " " << serialSeqList . size ( ) ; int it = 0 ; while ( it != this -> serialSeqList . size ( ) ) { if ( serialSeqList [ it ] . sender != NULL ) { serialSeqList [ it ] . sender -> finishWork ( ) ; serialSeqList [ it ] . sender = NULL ; } serialSeqList [ it ] . button -> setIcon ( QIcon ( " " ) ) ; serialSeqList [ it ] . status = 0 ; it ++ ; } }
@brief serialSeq::stopAllSequences
 This function stops all the started sequences.
@brief serialSeq :: stopAllSequences This function stops all the started sequences .