Lines Matching refs:update_entry

168     ext_toolbar_update_t * update_entry = (ext_toolbar_update_t *)user_data;  in toolbar_button_cb()  local
172 if (update_entry->type == EXT_TOOLBAR_UPDATE_VALUE) in toolbar_button_cb()
173 widget->setText((gchar *)update_entry->user_data); in toolbar_button_cb()
174 else if (update_entry->type == EXT_TOOLBAR_SET_ACTIVE) in toolbar_button_cb()
176 bool enableState = GPOINTER_TO_INT(update_entry->user_data) == 1; in toolbar_button_cb()
205 ext_toolbar_update_t * update_entry = (ext_toolbar_update_t *)user_data; in toolbar_boolean_cb() local
207 if (update_entry->type == EXT_TOOLBAR_UPDATE_VALUE) in toolbar_boolean_cb()
210 if (update_entry->silent) in toolbar_boolean_cb()
213 …widget->setCheckState(GPOINTER_TO_INT(update_entry->user_data) == 1 ? Qt::Checked : Qt::Unchecked); in toolbar_boolean_cb()
215 if (update_entry->silent) in toolbar_boolean_cb()
218 else if (update_entry->type == EXT_TOOLBAR_SET_ACTIVE) in toolbar_boolean_cb()
220 bool enableState = GPOINTER_TO_INT(update_entry->user_data) == 1; in toolbar_boolean_cb()
277 ext_toolbar_update_t * update_entry = (ext_toolbar_update_t *)user_data; in toolbar_string_cb() local
279 if (update_entry->type == EXT_TOOLBAR_UPDATE_VALUE) in toolbar_string_cb()
282 if (update_entry->silent) in toolbar_string_cb()
285 edit->setText((gchar *)update_entry->user_data); in toolbar_string_cb()
287 if (update_entry->silent) in toolbar_string_cb()
290 else if (update_entry->type == EXT_TOOLBAR_SET_ACTIVE) in toolbar_string_cb()
292 bool enableState = GPOINTER_TO_INT(update_entry->user_data) == 1; in toolbar_string_cb()
330 ext_toolbar_update_t * update_entry = (ext_toolbar_update_t *)user_data; in toolbar_selector_cb() local
334 if (update_entry->silent) in toolbar_selector_cb()
339 if (update_entry->type == EXT_TOOLBAR_SET_ACTIVE) in toolbar_selector_cb()
341 bool enableState = GPOINTER_TO_INT(update_entry->user_data) == 1; in toolbar_selector_cb()
344 else if (update_entry->type != EXT_TOOLBAR_UPDATE_DATA_REMOVE && ! update_entry->user_data) in toolbar_selector_cb()
347 if (update_entry->type == EXT_TOOLBAR_UPDATE_VALUE) in toolbar_selector_cb()
349 QString data = QString((gchar *)update_entry->user_data); in toolbar_selector_cb()
362 else if (update_entry->type == EXT_TOOLBAR_UPDATE_DATA) in toolbar_selector_cb()
364 GList * walker = (GList *)update_entry->user_data; in toolbar_selector_cb()
381 else if (update_entry->type == EXT_TOOLBAR_UPDATE_DATABYINDEX || in toolbar_selector_cb()
382 update_entry->type == EXT_TOOLBAR_UPDATE_DATA_ADD || in toolbar_selector_cb()
383 update_entry->type == EXT_TOOLBAR_UPDATE_DATA_REMOVE) in toolbar_selector_cb()
385 if (! update_entry->data_index) in toolbar_selector_cb()
388 gchar * idx = (gchar *)update_entry->data_index; in toolbar_selector_cb()
389 gchar * display = (gchar *)update_entry->user_data; in toolbar_selector_cb()
391 if (update_entry->type == EXT_TOOLBAR_UPDATE_DATABYINDEX) in toolbar_selector_cb()
407 else if (update_entry->type == EXT_TOOLBAR_UPDATE_DATA_ADD) in toolbar_selector_cb()
417 else if (update_entry->type == EXT_TOOLBAR_UPDATE_DATA_REMOVE) in toolbar_selector_cb()
433 if (update_entry->silent) in toolbar_selector_cb()