Home · All Namespaces · All Classes

PhoneNetworkStatusIndicator Class Reference

#include <statusindicator.h>

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

List of all members.

Public Member Functions

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

Detailed Description

A status indicator for showing the used phone network name. The phone network name is cropped to 13 characters. Sets the value to the phone network name.

Definition at line 337 of file statusindicator.h.


Constructor & Destructor Documentation

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

Constructs a PhoneNetworkStatusIndicator.

Parameters:
context the application context to get status information from
parent parent MWidget. If parent is NULL, the creating client must take the responsibility to delete the indicator.

Definition at line 417 of file statusindicator.cpp.

00417                                                                                                            :
00418     StatusIndicator(parent)
00419 {
00420     setObjectName(metaObject()->className());
00421 
00422     networkName = createContextItem(context, "Cellular.NetworkName");
00423     connect(networkName, SIGNAL(contentsChanged()), this, SLOT(phoneNetworkChanged()));
00424     connect(&networkChangeShowVisitorTimer, SIGNAL(timeout()), this, SLOT(showVisitorNetworkName()));
00425     networkChangeShowVisitorTimer.setSingleShot(true);
00426     networkChangeShowVisitorTimer.setInterval(3*1000);
00427     phoneNetworkChanged();
00428 }

Here is the call graph for this function:

PhoneNetworkStatusIndicator::~PhoneNetworkStatusIndicator (  )  [virtual]

Definition at line 457 of file statusindicator.cpp.

00458 {
00459 }


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

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