|
Ubuntu Connectivity Qt API
1.0
|
Overall system networking status. More...
#include <ubuntu/connectivity/networking-status.h>
Inheritance diagram for ubuntu::connectivity::NetworkingStatus:
Collaboration diagram for ubuntu::connectivity::NetworkingStatus:Public Types | |
| enum | Limitations { Bandwith } |
| enum for networking limitations More... | |
| enum | Status { Offline, Connecting, Online } |
| enum for networking status More... | |
Signals | |
| void | limitationsChanged () |
| void | statusChanged (Status value) |
Public Member Functions | |
| NetworkingStatus (QObject *parent=0) | |
| virtual | ~NetworkingStatus () |
| QVector< Limitations > | limitations () const |
| Status | status () const |
Overall system networking status.
This is the top-level class for accessing networking information.
Examples:
Definition at line 41 of file networking-status.h.
enum for networking limitations
Networking limitations may be accessed through the NetworkingStatus::limitations property.
| Enumerator | |
|---|---|
| Bandwith |
indicates that the bandwith of the Internet connection has limitations. Applications should minimize their bandwith usage if possible. |
Definition at line 84 of file networking-status.h.
enum for networking status
Networking status may be accessed through the NetworkingStatus::status property.
| Enumerator | |
|---|---|
| Offline |
No Internet connection available. |
| Connecting |
System is actively establising a connection. |
| Online |
System is connected to the Internet. |
Definition at line 97 of file networking-status.h.
|
explicit |
|
virtual |
| QVector<Limitations> ubuntu::connectivity::NetworkingStatus::limitations | ( | ) | const |
|
signal |
| Status ubuntu::connectivity::NetworkingStatus::status | ( | ) | const |
|
signal |