NetworkHandlerPrivate class. More...
#include <networkhandlerprivate.h>
Public Member Functions | |
NetworkHandlerPrivate (QObject *parent) | |
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. | |
NetworkHandlerPrivate (QObject *parent) | |
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 Slots | |
void | stateChanged (const QDBusMessage &message) |
Slot for ICD D-Bus state change. | |
Private Attributes | |
QDBusInterface * | dBusInterface |
D-Bus interface. | |
bool | m_connected |
Connection state variable. | |
bool | m_connecting |
Connecting state variable. | |
NetworkHandler * | m_parent |
Parent object. |
NetworkHandlerPrivate class.
NetworkHandlerPrivate class does nothing.
This class handles network connection. Class notifies about network connection states.
Class is used when compiling in desktop.
NetworkHandlerPrivate::NetworkHandlerPrivate | ( | QObject * | parent | ) |
Constructor.
Creates ICD D-Bus interface.
NetworkHandlerPrivate::NetworkHandlerPrivate | ( | QObject * | parent | ) |
Constructor.
parent | QObject |
void NetworkHandlerPrivate::connect | ( | ) |
Requests network connection.
DOES NOTHING.
void NetworkHandlerPrivate::connect | ( | ) |
Requests network connection.
Request is done via ICD D-Bus.
void NetworkHandlerPrivate::disconnect | ( | ) |
Requests to disconnect a connection.
DOES NOTHING.
void NetworkHandlerPrivate::disconnect | ( | ) |
Requests to disconnect a connection.
Request is done via ICD D-Bus.
bool NetworkHandlerPrivate::isConnected | ( | ) |
Checks if connected to network.
RETURNS TRUE.
bool NetworkHandlerPrivate::isConnected | ( | ) |
Checks if connected to network.
void NetworkHandlerPrivate::state | ( | ) |
Requests network state.
DOES NOTHING.
void NetworkHandlerPrivate::stateChanged | ( | const QDBusMessage & | message | ) | [private, slot] |
Slot for ICD D-Bus state change.
message | received D-Bus message |