| 1294 | } |
| 1295 | |
| 1296 | void 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 |
no test coverage detected