s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported hardware drivers:") + "</b></td></tr>");
for (auto entry : context->drivers()) {
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported hardware drivers:") + "</b></td></tr>");
for (auto entry : context->drivers()) {
.arg(QString::fromUtf8(entry.first.c_str()),
QString::fromUtf8(entry.second->long_name().c_str())));
}
.arg(QString::fromUtf8(entry.first.c_str()),
QString::fromUtf8(entry.second->long_name().c_str())));
}
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported input formats:") + "</b></td></tr>");
for (auto entry : context->input_formats()) {
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported input formats:") + "</b></td></tr>");
for (auto entry : context->input_formats()) {
.arg(QString::fromUtf8(entry.first.c_str()),
QString::fromUtf8(entry.second->description().c_str())));
}
.arg(QString::fromUtf8(entry.first.c_str()),
QString::fromUtf8(entry.second->description().c_str())));
}
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported output formats:") + "</b></td></tr>");
for (auto entry : context->output_formats()) {
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported output formats:") + "</b></td></tr>");
for (auto entry : context->output_formats()) {
.arg(QString::fromUtf8(entry.first.c_str()),
QString::fromUtf8(entry.second->description().c_str())));
}
.arg(QString::fromUtf8(entry.first.c_str()),
QString::fromUtf8(entry.second->description().c_str())));
}
sl = g_slist_sort(sl, sort_pds);
for (const GSList *l = sl; l; l = l->next) {
dec = (struct srd_decoder *)l->data;
sl = g_slist_sort(sl, sort_pds);
for (const GSList *l = sl; l; l = l->next) {
dec = (struct srd_decoder *)l->data;
.arg(QString::fromUtf8(dec->id),
QString::fromUtf8(dec->longname)));
}
.arg(QString::fromUtf8(dec->id),
QString::fromUtf8(dec->longname)));
}