NetworkHandler class. More...
#include <networkhandler.h>
Signals | |
void | connected () |
Signals when connected to network. | |
void | disconnected () |
Signals when disconnected from network. | |
Public Member Functions | |
NetworkHandler (QObject *parent=0) | |
Constructor. | |
void | connect () |
Requests network connection. | |
void | disconnect () |
Requests to disconnect a connection. | |
bool | isConnected () |
Checks if connected to network. | |
void | state () |
Requests network state. | |
Private Attributes | |
NetworkHandlerPrivate * | m_networkHandlerPrivate |
Instance of NetworkHandlerPrivate. | |
Friends | |
class | NetworkHandlerPrivate |
Friend class for NetworkHandlerPrivate. |
NetworkHandler class.
This class handles network connection. Class notifies about network connection states.
NetworkHandler::NetworkHandler | ( | QObject * | parent = 0 |
) |
Constructor.
Creates ICD D-Bus interface.
void NetworkHandler::connect | ( | ) |
Requests network connection.
Request is done via ICD D-Bus.
void NetworkHandler::disconnect | ( | ) |
Requests to disconnect a connection.
Request is done via ICD D-Bus.
bool NetworkHandler::isConnected | ( | ) |
Checks if connected to network.