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
Constructor & Destructor Documentation
NetworkStatus::~NetworkStatus | ( | ) |
NetworkStatus::NetworkStatus | ( | ) | [protected] |
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
NetworkStatus * NetworkStatus::self | ( | ) | [static] |
void NetworkStatus::setStatus | ( | Status | status | ) |
Sets a new status.
- Parameters:
-
status The new status.
Definition at line 53 of file networkstatus.cpp.
NetworkStatus::Status NetworkStatus::status | ( | ) | const |
void NetworkStatus::onlineStatusChanged | ( | ) |
void KPIM::NetworkStatus::statusChanged | ( | Status | status | ) | [signal] |
Emitted whenever the status has changed.
- Parameters:
-
status The new status.
The documentation for this class was generated from the following files: