Lines Matching refs:sym
107 sym_set_string_value(menu->sym, text(dataColIdx).latin1()); in okRename()
117 struct symbol* sym; in updateMenu() local
130 sym = menu->sym; in updateMenu()
140 if (sym && list->rootEntry == menu) in updateMenu()
144 if (sym) in updateMenu()
155 if (!sym) in updateMenu()
158 setText(nameColIdx, QString::fromLocal8Bit(sym->name)); in updateMenu()
160 type = sym_get_type(sym); in updateMenu()
166 if (!sym_is_changable(sym) && list->optMode == normalOpt) { in updateMenu()
173 expr = sym_get_tristate_value(sym); in updateMenu()
176 if (sym_is_choice_value(sym) && type == S_BOOLEAN) in updateMenu()
189 if (sym_is_choice_value(sym) && type == S_BOOLEAN) in updateMenu()
198 setText(noColIdx, sym_tristate_within_range(sym, no) ? "_" : 0); in updateMenu()
200 setText(modColIdx, sym_tristate_within_range(sym, mod) ? "_" : 0); in updateMenu()
202 setText(yesColIdx, sym_tristate_within_range(sym, yes) ? "_" : 0); in updateMenu()
211 data = sym_get_string_value(sym); in updateMenu()
223 if (!sym_has_value(sym) && visible) in updateMenu()
237 sym_calc_value(menu->sym); in testUpdateMenu()
272 sym_calc_value(menu->sym); in init()
302 if (sym_get_string_value(item->menu->sym)) in show()
303 setText(QString::fromLocal8Bit(sym_get_string_value(item->menu->sym))); in show()
317 sym_set_string_value(item->menu->sym, text().latin1()); in keyPressEvent()
468 rootEntry->sym && rootEntry->prompt) { in updateList()
486 struct symbol* sym; in setValue() local
490 sym = item->menu ? item->menu->sym : 0; in setValue()
491 if (!sym) in setValue()
494 type = sym_get_type(sym); in setValue()
498 oldval = sym_get_tristate_value(sym); in setValue()
500 if (!sym_set_tristate_value(sym, val)) in setValue()
511 struct symbol* sym; in changeValue() local
518 sym = menu->sym; in changeValue()
519 if (!sym) { in changeValue()
525 type = sym_get_type(sym); in changeValue()
529 oldexpr = sym_get_tristate_value(sym); in changeValue()
530 newexpr = sym_toggle_tristate_value(sym); in changeValue()
631 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
799 else if (menu->sym) in contentsMouseDoubleClickEvent()
951 : Parent(parent, name), sym(0), _menu(0) in ConfigInfoView()
976 else if (sym) in setShowDebug()
987 sym = NULL; in setInfo()
999 str += print_filter(sym->name); in symbolInfo()
1001 str += print_filter(sym_get_string_value(sym)); in symbolInfo()
1003 str += sym->visible == yes ? "y" : sym->visible == mod ? "m" : "n"; in symbolInfo()
1005 str += debug_info(sym); in symbolInfo()
1012 struct symbol* sym; in menuInfo() local
1015 sym = _menu->sym; in menuInfo()
1016 if (sym) { in menuInfo()
1021 if (sym->name) { in menuInfo()
1024 head += QString().sprintf("<a href=\"s%p\">", sym); in menuInfo()
1025 head += print_filter(sym->name); in menuInfo()
1030 } else if (sym->name) { in menuInfo()
1033 head += QString().sprintf("<a href=\"s%p\">", sym); in menuInfo()
1034 head += print_filter(sym->name); in menuInfo()
1042 debug = debug_info(sym); in menuInfo()
1066 QString ConfigInfoView::debug_info(struct symbol *sym) in debug_info() argument
1071 debug += print_filter(sym_type_name(sym->type)); in debug_info()
1072 if (sym_is_choice(sym)) in debug_info()
1075 if (sym->rev_dep.expr) { in debug_info()
1077 expr_print(sym->rev_dep.expr, expr_print_help, &debug, E_NONE); in debug_info()
1080 for (struct property *prop = sym->prop; prop; prop = prop->next) { in debug_info()
1098 if (sym_is_choice(sym)) { in debug_info()
1151 void ConfigInfoView::expr_print_help(void *data, struct symbol *sym, const char *str) in expr_print_help() argument
1156 if (sym && sym->name && !(sym->flags & SYMBOL_CONST)) { in expr_print_help()
1157 *text += QString().sprintf("<a href=\"s%p\">", sym); in expr_print_help()