MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / prepare

Method prepare

Telegram/SourceFiles/boxes/connection_box.cpp:1040–1048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1038}
1039
1040void ProxiesBox::prepare() {
1041 setTitle(tr::lng_proxy_settings());
1042
1043 _addProxyButton = addButton(tr::lng_proxy_add(), [=] { addNewProxy(); });
1044 addButton(tr::lng_close(), [=] { closeBox(); });
1045
1046 setupTopButton();
1047 setupContent();
1048}
1049
1050void ProxiesBox::showFinished() {
1051 if (_highlightId == u"proxy/add-proxy"_q) {

Callers

nothing calls this directly

Calls 11

dataMethod · 0.45
sizeMethod · 0.45
setTextMethod · 0.45
setFocusMethod · 0.45
eventsMethod · 0.45
typeMethod · 0.45
keyMethod · 0.45
getMethod · 0.45
hasFocusMethod · 0.45
isEmptyMethod · 0.45
currentMethod · 0.45

Tested by

no test coverage detected