37#include <NDEVR/Connection.h>
42 class WebNetworkConnectionUI;
55 void setFixedProtocol(
const String& mode);
56 void clearFixedProtocol();
57 virtual void clear()
override;
59 virtual void setConnectionInfo(
const ConnectionInfo& connection)
override;
60 virtual bool handlesConnection(
const ConnectionInfo& connection)
override;
61 void setAllowPingLogic(
bool allow_ping);
62 void setAllowLocalButton(
bool allow_local);
63 bool checkIfValid()
const;
66 void updateFromDialog();
68 void refreshPingVisible();
71 Ui::WebNetworkConnectionUI*
ui;
72 bool m_allow_ping_logic =
true;
73 bool m_allow_local_button =
true;
78 virtual bool handlesType(
const String& connection)
const override;
80 virtual String icon()
const override;
Definition ConnectionDialog.h:23
Definition ConnectionDialog.h:8
Definition TranslatedString.h:9
Definition WebSocketConnectionDialog.h:76
Definition WebSocketConnectionDialog.h:50
Ui::WebNetworkConnectionUI * ui
Definition WebSocketConnectionDialog.h:71
String m_fixed_protocol
Definition WebSocketConnectionDialog.h:70
Definition FontEditor.h:6
Definition Connection.h:87