37#include <NDEVR/Connection.h>
42 class NetworkConnectionUI;
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::NetworkConnectionUI*
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 NetworkConnectionDialog.h:76
Definition NetworkConnectionDialog.h:50
String m_fixed_protocol
Definition NetworkConnectionDialog.h:70
Ui::NetworkConnectionUI * ui
Definition NetworkConnectionDialog.h:71
Definition TranslatedString.h:9
Definition FontEditor.h:6
Definition Connection.h:87