NetworkHandlerPrivate Class Reference

NetworkHandlerPrivate class. More...

#include <networkhandlerprivate.h>

Collaboration diagram for NetworkHandlerPrivate:
Collaboration graph
[legend]

List of all members.

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.
void connected ()
 emits connection state

Private Attributes

QDBusInterface * dBusInterface
 D-Bus interface.
bool m_connected
 Connection state variable.
bool m_connecting
 Connecting state variable.
NetworkHandlerm_parent
 Parent object.

Detailed Description

NetworkHandlerPrivate class.

NetworkHandlerPrivate class does nothing.

This class handles network connection. Class notifies about network connection states.

Class is used when compiling in desktop.


Constructor & Destructor Documentation

NetworkHandlerPrivate::NetworkHandlerPrivate ( QObject *  parent  ) 

Constructor.

Creates ICD D-Bus interface.

NetworkHandlerPrivate::NetworkHandlerPrivate ( QObject *  parent  ) 

Constructor.

Parameters:
parent QObject

Member Function Documentation

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.

Returns:
true if connected, false otherwise
void NetworkHandlerPrivate::state (  ) 

Requests network state.

DOES NOTHING.

void NetworkHandlerPrivate::stateChanged ( const QDBusMessage &  message  )  [private, slot]

Slot for ICD D-Bus state change.

Parameters:
message received D-Bus message

The documentation for this class was generated from the following files:

Generated on Fri Sep 3 12:05:42 2010 for Situare client for Maemo by  doxygen 1.6.1