Warning, /frameworks/kdelibs4support/src/solid-networkstatus/README is written in an unsupported language. File is not indexed.
0001 *) Network Status kded module implements two interfaces under 0002 /modules/networkstatus 0003 0004 *) Client provides network status info and signals to network aware 0005 apps 0006 *) Service allows apps providing or monitoring network status to 0007 register their networks and change their status 0008 0009 Service changes are aggregated and signalled over the Client interface 0010 to listening apps. 0011 0012 *) Add a KConnectionManager class to make using the Client interface 0013 stupidly easy. This caches status, preventing unnecessary dbus calls, 0014 allows control over connect/disconnect policy and can call registered 0015 slots on connect/disconnect. 0016 0017 *) Add a NetworkStatusIndicator class which is a simple widget shown 0018 when offline, which automatically hides() itself when online 0019 0020 *) Add a pair of GUI test programs 'client' and 'service' which allow 0021 the curious to simulate network changes and their effects on a client. 0022 0023 To use: 0024 0025 1) make install 0026 2) qdbus org.kde.kded5 /kded loadModule networkstatus 0027 qdbus org.kde.kded5 /modules/networkstatus status 0028 qdbus org.kde.kded5 /modules/networkstatus networks 0029 3) in builddir/tests ./service 0030 4) likewise, ./client 0031 5) Change the service's status and observe the changes in the client. 0032 Set the client to Start Connect while the service is offline, then 0033 connect the service and see how the client responds. 0034 6) Use KConnectionManager in your own code. 0035