Solid
networking.cpp
Go to the documentation of this file.
38 QDBusServiceWatcher *watcher = new QDBusServiceWatcher("org.kde.kded", QDBusConnection::sessionBus(),
62 //connect( iface, SIGNAL(statusChanged(uint)), globalNetworkManager, SIGNAL(statusChanged(Networking::Status)) );
121 void Solid::NetworkingPrivate::serviceOwnerChanged( const QString & name, const QString & oldOwner, const QString & newOwner )
SOLID_EXPORT void setDisconnectPolicy(ManagementPolicy policy)
Set a policy to manage the application's disconnect behaviour.
Definition: networking.cpp:153
SOLID_EXPORT ManagementPolicy disconnectPolicy()
Retrieve a policy managing the application's disconnect behaviour.
Definition: networking.cpp:148
Manual - the app should only disconnect when the user does so manually.
Definition: networking.h:57
ManagementPolicy
This defines application policy in response to networking connect/disconnect events.
Definition: networking.h:56
bool isValid() const
QDBusConnection sessionBus()
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
SOLID_EXPORT void setConnectPolicy(ManagementPolicy policy)
Set a policy to manage the application's connect behaviour.
Definition: networking.cpp:143
SOLID_EXPORT ManagementPolicy connectPolicy()
Retrieve a policy managing the application's connect behaviour.
Definition: networking.cpp:138
the app should connect or disconnect the next time the network changes status, thereafter Manual ...
Definition: networking.h:58
Type value() const
the system is not connected to any network
Definition: networking.h:47
the networking system is not active or unable to report its status - proceed with caution ...
Definition: networking.h:46
void serviceStatusChanged(bool status)
Definition: networking.cpp:90
Definition: networking_p.h:38
the system is currently connected to a network
Definition: networking.h:50
the app should connect or disconnect whenever the KConnectionManager reports a state change ...
Definition: networking.h:59
This object emits signals, for use if your application requires notification of changes to networking...
Definition: networking.h:97
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.