/*!
    This function handles triggered signal from "next" button

 */
void WlanLoginView::handleNextAction()
{
    OstTraceFunctionEntry0(WLANLOGINVIEW_HANDLENEXTACTION_ENTRY);

    emit nextTriggered();
        
    OstTraceFunctionExit0(WLANLOGINVIEW_HANDLENEXTACTION_EXIT);
}
/*!
    This function handles ictsOk signal from engine

 */
void WlanLoginView::handleIctsOk()
{
    OstTraceFunctionEntry0(WLANLOGINVIEW_HANDLEICTSRESULT_ENTRY);
            
    mNextAction->setEnabled(true);
    
    //Send application to background automatically only in first successfull login
    //as in other cases WLAN Wizard won't exist in the underneath
    if (mFirstIctsOkResult) {
        mFirstIctsOkResult = false;
        emit nextTriggered();
    }
    
    OstTraceFunctionExit0(WLANLOGINVIEW_HANDLEICTSRESULT_EXIT);
}
Пример #3
0
void QFPLayerControls::createActions() {
    actPlayPause=new QFActionWithNoMenuRole(QIcon(":/libqf3widgets/player_play.png"), tr("play"), this);
    actPlayPause->setCheckable(true);
    actPlayPause->setChecked(false);
    lastPlaying=false;
    connect(actPlayPause, SIGNAL(toggled(bool)), this, SLOT(playPauseTriggered(bool)));
    actRewind=new QFActionWithNoMenuRole(QIcon(":/libqf3widgets/player_start.png"), tr("back to first frame"), this);
    connect(actRewind, SIGNAL(triggered()), this, SLOT(rewind()));
    actNextFrame=new QFActionWithNoMenuRole(QIcon(":/libqf3widgets/player_fwd.png"), tr("one frame forward"), this);
    connect(actNextFrame, SIGNAL(triggered()), this, SLOT(nextTriggered()));
    actNextMoreFrame=new QFActionWithNoMenuRole(QIcon(":/libqf3widgets/player_ffwd.png"), tr("some frames forward"), this);
    connect(actNextMoreFrame, SIGNAL(triggered()), this, SLOT(nextMoreTriggered()));
    actPrevFrame=new QFActionWithNoMenuRole(QIcon(":/libqf3widgets/player_rew.png"), tr("one frame backward"), this);
    connect(actPrevFrame, SIGNAL(triggered()), this, SLOT(prevTriggered()));
    actPrevMoreFrame=new QFActionWithNoMenuRole(QIcon(":/libqf3widgets/player_rrew.png"), tr("some frames backward"), this);
    connect(actPrevMoreFrame, SIGNAL(triggered()), this, SLOT(prevMoreTriggered()));
}