MCPcopy Create free account
hub / github.com/Entware/Entware / search

Method search

scripts/config/qconf.cc:1296–1314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1294}
1295
1296void ConfigSearchWindow::search(void)
1297{
1298 struct symbol **p;
1299 struct property *prop;
1300 ConfigItem *lastItem = NULL;
1301
1302 free(result);
1303 list->clear();
1304 info->clear();
1305
1306 result = sym_re_search(editField->text().toLatin1());
1307 if (!result)
1308 return;
1309 for (p = result; *p; p++) {
1310 for_all_prompts((*p), prop)
1311 lastItem = new ConfigItem(list, lastItem, prop->menu,
1312 menu_is_visible(prop->menu));
1313 }
1314}
1315
1316/*
1317 * Construct the complete config widget

Callers 1

_init_owner_repoMethod · 0.80

Calls 2

sym_re_searchFunction · 0.85
menu_is_visibleFunction · 0.85

Tested by

no test coverage detected