MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / UpdateEntryData

Method UpdateEntryData

plugins/http/macro-action-http.cpp:351–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351void MacroActionHttpEdit::UpdateEntryData()
352{
353 if (!_entryData) {
354 return;
355 }
356
357 _url->setText(_entryData->_url);
358 _contentType->setText(_entryData->_contentType);
359 _body->setPlainText(_entryData->_body);
360 _setHeaders->setChecked(_entryData->_setHeaders);
361 _headerList->SetStringList(_entryData->_headers);
362 _setParams->setChecked(_entryData->_setParams);
363 _paramList->SetStringList(_entryData->_params);
364 _methods->setCurrentIndex(
365 _methods->findData(static_cast<int>(_entryData->_method)));
366 _timeout->SetDuration(_entryData->_timeout);
367 SetWidgetVisibility();
368}
369
370void MacroActionHttpEdit::URLChanged()
371{

Callers

nothing calls this directly

Calls 5

setTextMethod · 0.80
setPlainTextMethod · 0.80
setCheckedMethod · 0.80
SetStringListMethod · 0.45
SetDurationMethod · 0.45

Tested by

no test coverage detected