MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / foreach

Function foreach

Src/ParameterCompone/ParameterRecordUI.cpp:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 QMediaRecorder recorder;
24 auto formats = recorder.mediaFormat().supportedFileFormats(QMediaFormat::Encode);
25 foreach(auto f, formats) {
26 qDebug(log) << "File format name:" << f;
27 ui->cmbFileFormat->addItem(QMediaFormat::fileFormatName(f), f);
28 }
29 auto video = recorder.mediaFormat().supportedVideoCodecs(QMediaFormat::Encode);
30 foreach (auto v, video) {
31 qDebug(log) << "Video codec:" << v;

Callers

nothing calls this directly

Calls 1

addItemMethod · 0.80

Tested by

no test coverage detected