libemailfunctions
KPIM::NetworkStatus Class Reference
This is a class for monitoring network status -- basically, the machine KDE is running on going from "online" mode to offline. More...
#include <networkstatus.h>
Inheritance diagram for KPIM::NetworkStatus:
Public Types | |
enum | Status { Online, Offline } |
Signals | |
void | statusChanged (Status status) |
Public Member Functions | |
void | setStatus (Status status) |
Status | status () const |
~NetworkStatus () | |
Static Public Member Functions | |
static NetworkStatus * | self () |
Protected Member Functions | |
NetworkStatus () |
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.
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
void NetworkStatus::onlineStatusChanged | ( | ) |
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 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: