Exemple #1
0
void KNMusicNowPlaying::setLoopState(const int &state)
{
    //Save the new state.
    m_loopState=state % LoopCount;
    //Emit the loop state changed signal.
    emit loopStateChanged(m_loopState);
}
void PlaybackManager::setLooping( bool isLoop )
{
    if ( mIsLooping != isLoop )
    {
        mIsLooping = isLoop;
        emit loopStateChanged( mIsLooping );
    }
}