NetworkHandler Class Reference

NetworkHandler class. More...

#include <networkhandler.h>

Collaboration diagram for NetworkHandler:
Collaboration graph
[legend]

List of all members.

Signals

void connected ()
 Signals when connected to network.
void disconnected ()
 Signals when disconnected from network.

Public Member Functions

void connect ()
 Requests network connection.
void disconnect ()
 Requests to disconnect a connection.
bool isConnected ()
 Checks if connected to network.
void state ()
 Requests network state.

Static Public Member Functions

static NetworkHandlerinstance ()
 Returns instance of NetworkHandler.

Protected Member Functions

 NetworkHandler ()
 Constructor.
 ~NetworkHandler ()
 Destructor.

Private Attributes

NetworkHandlerPrivatem_networkHandlerPrivate
 Instance of NetworkHandlerPrivate.

Static Private Attributes

static NetworkHandlerm_instance = 0
 Instance of NetworkHandler.

Friends

class NetworkHandlerPrivate
 Friend class for NetworkHandlerPrivate.

Detailed Description

NetworkHandler class.

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


Constructor & Destructor Documentation

NetworkHandler::NetworkHandler (  )  [protected]

Constructor.

Instance of this class can only be created by using instance method.

NetworkHandler::~NetworkHandler (  )  [protected]

Destructor.

Destructor is not accessible.


Member Function Documentation

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.

NetworkHandler * NetworkHandler::instance (  )  [static]

Returns instance of NetworkHandler.

Creates instance if not created.

bool NetworkHandler::isConnected (  ) 

Checks if connected to network.

Returns:
true if connected, false otherwise

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

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