Home · All Namespaces · All Classes

PhoneNetworkTypeStatusIndicator Class Reference

#include <statusindicator.h>

Inheritance diagram for PhoneNetworkTypeStatusIndicator:
Inheritance graph
[legend]
Collaboration diagram for PhoneNetworkTypeStatusIndicator:
Collaboration graph
[legend]

List of all members.

Signals

void networkAvailabilityChanged (bool available)

Public Member Functions

 PhoneNetworkTypeStatusIndicator (ApplicationContext &context, QGraphicsItem *parent=NULL)
virtual ~PhoneNetworkTypeStatusIndicator ()

Detailed Description

A status indicator for showing the phone network type

Definition at line 159 of file statusindicator.h.


Constructor & Destructor Documentation

PhoneNetworkTypeStatusIndicator::PhoneNetworkTypeStatusIndicator ( ApplicationContext context,
QGraphicsItem *  parent = NULL 
) [explicit]

Constructor

Parameters:
context the application context to get status information from
parent parent MWidget

Definition at line 155 of file statusindicator.cpp.

00155                                                                                                                    :
00156         StatusIndicator(parent), networkAvailable(false)
00157 {
00158     cellularDataTechnology = createContextItem(context, "Cellular.DataTechnology");
00159     connect(cellularDataTechnology, SIGNAL(contentsChanged()), this, SLOT(setNetworkType()));
00160 
00161     cellularRegistrationStatus = createContextItem(context, "Cellular.RegistrationStatus");
00162     connect(cellularRegistrationStatus, SIGNAL(contentsChanged()), this, SLOT(setNetworkType()));
00163 
00164     setNetworkType();
00165 }

Here is the call graph for this function:

PhoneNetworkTypeStatusIndicator::~PhoneNetworkTypeStatusIndicator (  )  [virtual]

Definition at line 167 of file statusindicator.cpp.

00168 {
00169 }


Member Function Documentation

void PhoneNetworkTypeStatusIndicator::networkAvailabilityChanged ( bool  available  )  [signal]

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

Copyright © 2010 Nokia Corporation Generated on Wed Nov 10 16:05:11 2010
Doxygen 1.6.1
MeeGo Touch