void KnockDialog::knockClose() { this->m_ui->progressBar->setMaximum(record->serverClose()->size()); this->m_ui->progressBar->setValue(0); thread = new KnockerThread(record->serverHost(), record->serverClose()); connect(thread, SIGNAL(beginSequence()), this, SLOT(lockForm())); connect(thread, SIGNAL(endSequence()), this, SLOT(unlockForm())); connect(thread, SIGNAL(status(QString)), this, SLOT(updateStatus(QString))); connect(thread, SIGNAL(step()), this, SLOT(knockStep())); thread->start(); }
JNIEXPORT void JNICALL Java_com_anvato_android_player_hls_HLSNativeConverter_endSequence(JNIEnv *env, jobject obj) { LOGD("endSequence() called"); endSequence(); }