Lines Matching refs:sym

113 	sym_set_string_value(menu->sym, text(dataColIdx).latin1());  in okRename()
123 struct symbol* sym; in updateMenu() local
136 sym = menu->sym; in updateMenu()
146 if (sym && list->rootEntry == menu) in updateMenu()
150 if (sym) in updateMenu()
161 if (!sym) in updateMenu()
164 setText(nameColIdx, QString::fromLocal8Bit(sym->name)); in updateMenu()
166 type = sym_get_type(sym); in updateMenu()
172 if (!sym_is_changable(sym) && list->optMode == normalOpt) { in updateMenu()
179 expr = sym_get_tristate_value(sym); in updateMenu()
182 if (sym_is_choice_value(sym) && type == S_BOOLEAN) in updateMenu()
195 if (sym_is_choice_value(sym) && type == S_BOOLEAN) in updateMenu()
204 setText(noColIdx, sym_tristate_within_range(sym, no) ? "_" : 0); in updateMenu()
206 setText(modColIdx, sym_tristate_within_range(sym, mod) ? "_" : 0); in updateMenu()
208 setText(yesColIdx, sym_tristate_within_range(sym, yes) ? "_" : 0); in updateMenu()
217 data = sym_get_string_value(sym); in updateMenu()
229 if (!sym_has_value(sym) && visible) in updateMenu()
243 sym_calc_value(menu->sym); in testUpdateMenu()
278 sym_calc_value(menu->sym); in init()
308 if (sym_get_string_value(item->menu->sym)) in show()
309 setText(QString::fromLocal8Bit(sym_get_string_value(item->menu->sym))); in show()
323 sym_set_string_value(item->menu->sym, text().latin1()); in keyPressEvent()
474 rootEntry->sym && rootEntry->prompt) { in updateList()
492 struct symbol* sym; in setValue() local
496 sym = item->menu ? item->menu->sym : 0; in setValue()
497 if (!sym) in setValue()
500 type = sym_get_type(sym); in setValue()
504 oldval = sym_get_tristate_value(sym); in setValue()
506 if (!sym_set_tristate_value(sym, val)) in setValue()
517 struct symbol* sym; in changeValue() local
524 sym = menu->sym; in changeValue()
525 if (!sym) { in changeValue()
531 type = sym_get_type(sym); in changeValue()
535 oldexpr = sym_get_tristate_value(sym); in changeValue()
536 newexpr = sym_toggle_tristate_value(sym); in changeValue()
637 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
805 else if (menu->sym) in contentsMouseDoubleClickEvent()
957 : Parent(parent, name), sym(0), _menu(0) in ConfigInfoView()
982 else if (sym) in setShowDebug()
993 sym = NULL; in setInfo()
1005 str += print_filter(sym->name); in symbolInfo()
1007 str += print_filter(sym_get_string_value(sym)); in symbolInfo()
1009 str += sym->visible == yes ? "y" : sym->visible == mod ? "m" : "n"; in symbolInfo()
1011 str += debug_info(sym); in symbolInfo()
1018 struct symbol* sym; in menuInfo() local
1021 sym = _menu->sym; in menuInfo()
1022 if (sym) { in menuInfo()
1027 if (sym->name) { in menuInfo()
1030 head += QString().sprintf("<a href=\"s%p\">", sym); in menuInfo()
1031 head += print_filter(sym->name); in menuInfo()
1036 } else if (sym->name) { in menuInfo()
1039 head += QString().sprintf("<a href=\"s%p\">", sym); in menuInfo()
1040 head += print_filter(sym->name); in menuInfo()
1048 debug = debug_info(sym); in menuInfo()
1072 QString ConfigInfoView::debug_info(struct symbol *sym) in debug_info() argument
1077 debug += print_filter(sym_type_name(sym->type)); in debug_info()
1078 if (sym_is_choice(sym)) in debug_info()
1081 if (sym->rev_dep.expr) { in debug_info()
1083 expr_print(sym->rev_dep.expr, expr_print_help, &debug, E_NONE); in debug_info()
1086 for (struct property *prop = sym->prop; prop; prop = prop->next) { in debug_info()
1104 if (sym_is_choice(sym)) { in debug_info()
1157 void ConfigInfoView::expr_print_help(void *data, struct symbol *sym, const char *str) in expr_print_help() argument
1162 if (sym && sym->name && !(sym->flags & SYMBOL_CONST)) { in expr_print_help()
1163 *text += QString().sprintf("<a href=\"s%p\">", sym); in expr_print_help()