void EtherSceneController::TryStartLogin() { QPair<View::InfoCard*, View::InfoCard*> selected_cards; selected_cards.first = top_menu_->GetHighlighted(); selected_cards.second = bottom_menu_->GetHighlighted(); scene_->SupressKeyEvents(true); SuppressControlWidgets(true); StartLoginAnimation(); if (!login_in_progress_) { emit LoginRequest(selected_cards); login_in_progress_ = !login_in_progress_; } ShowStatusInformation(QString("Connecting to %1 with %2").arg(selected_cards.second->title(), selected_cards.first->title())); }
void MainWindow::ShowProcWidget() { emit LoginRequest(ui->username->text(), ui->password->text()); //setCentralWidget(procWidget); }
void FotoBilderAccount::Login () { auto guard = MakeRunnerGuard (); CallsQueue_ << [this] (const QString&) { GetChallenge (); }; CallsQueue_ << [this] (const QString& challenge) { LoginRequest (challenge); }; }