libemailfunctions
KPIM::NetworkStatus Class Reference
#include <networkstatus.h>
Detailed Description
This is a class for monitoring network status -- basically, the machine KDE is running on going from "online" mode to offline.What this means is left as an exercise for the reader.
Definition at line 35 of file networkstatus.h.
Public Types | |
enum | Status { Online, Offline } |
Signals | |
void | statusChanged (Status status) |
DCOP Member Functions | |
void | onlineStatusChanged () |
Public Member Functions | |
~NetworkStatus () | |
void | setStatus (Status status) |
Status | status () const |
Static Public Member Functions | |
static NetworkStatus * | self () |
Protected Member Functions | |
NetworkStatus () |
Member Enumeration Documentation
|
The possible states.
Definition at line 43 of file networkstatus.h. |
Constructor & Destructor Documentation
|
Destructor.
Definition at line 47 of file networkstatus.cpp. |
|
Constructor. This is protected, so you must use self() to get the singleton object of this class. Definition at line 35 of file networkstatus.cpp. |
Member Function Documentation
|
Called by the network interface watcher in KDED.
Definition at line 65 of file networkstatus.cpp. |
|
Returns the only instance of this class.
Definition at line 80 of file networkstatus.cpp. |
|
Sets a new status.
Definition at line 53 of file networkstatus.cpp. |
|
Returns the current status.
Definition at line 60 of file networkstatus.cpp. |
|
Emitted whenever the status has changed.
|
The documentation for this class was generated from the following files: