Пример #1
0
/** stop trigger function */
void CommandBase::stop()
{
    if (m_state == State::Trying) {
        emit fsmTryingDisconnect(QPrivateSignal());
    }
    else if (m_state == State::Up) {
        emit fsmUpDisconnect(QPrivateSignal());
    }
}
Пример #2
0
/** stop trigger function */
void ConfigBase::stop()
{
    if (m_state == State::Trying) {
        emit fsmTryingDisconnect(QPrivateSignal());
    }
    else if (m_state == State::Listing) {
        emit fsmListingDisconnect(QPrivateSignal());
    }
    else if (m_state == State::Up) {
        emit fsmUpDisconnect(QPrivateSignal());
    }
    else if (m_state == State::Loading) {
        emit fsmLoadingDisconnect(QPrivateSignal());
    }
}
Пример #3
0
/** stop trigger function */
void LogServiceBase::stop()
{
    if (m_state == State::Up) {
        emit fsmUpDisconnect(QPrivateSignal());
    }
}
Пример #4
0
/** stop trigger function */
void PreviewSubscribe::stop()
{
    if (m_state == State::Up) {
        emit fsmUpDisconnect(QPrivateSignal());
    }
}