Solid
networking.h
@ OnNextStatusChange
the app should connect or disconnect the next time the network changes status, thereafter Manual
Definition: networking.h:58
This object emits signals, for use if your application requires notification of changes to networking...
Definition: networking.h:98
SOLID_EXPORT ManagementPolicy disconnectPolicy()
Retrieve a policy managing the application's disconnect behaviour.
Definition: networking.cpp:148
@ Managed
the app should connect or disconnect whenever the KConnectionManager reports a state change
Definition: networking.h:59
ManagementPolicy
This defines application policy in response to networking connect/disconnect events.
Definition: networking.h:56
SOLID_EXPORT ManagementPolicy connectPolicy()
Retrieve a policy managing the application's connect behaviour.
Definition: networking.cpp:138
void shouldDisconnect()
Signals that the system's network has become disconnected, so receivers should adjust application sta...
SOLID_EXPORT void setDisconnectPolicy(ManagementPolicy policy)
Set a policy to manage the application's disconnect behaviour.
Definition: networking.cpp:153
SOLID_EXPORT Status status()
Get the current networking status If the result is Unknown, the backend may be unconfigured or otherw...
Definition: networking.cpp:80
@ Unknown
the networking system is not active or unable to report its status - proceed with caution
Definition: networking.h:46
void statusChanged(Solid::Networking::Status status)
Signals that the network status has changed.
void shouldConnect()
Signals that the system's network has become connected, so receivers should connect their sockets,...
SOLID_EXPORT void setConnectPolicy(ManagementPolicy policy)
Set a policy to manage the application's connect behaviour.
Definition: networking.cpp:143
@ Manual
Manual - the app should only disconnect when the user does so manually.
Definition: networking.h:57
Definition: acadapter.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.