![]() |
Home · All Namespaces · All Classes |
#include <statusindicator.h>


Public Member Functions | |
| PhoneNetworkStatusIndicator (ApplicationContext &context, QGraphicsItem *parent=NULL) | |
| virtual | ~PhoneNetworkStatusIndicator () |
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.
| PhoneNetworkStatusIndicator::PhoneNetworkStatusIndicator | ( | ApplicationContext & | context, | |
| QGraphicsItem * | parent = NULL | |||
| ) | [explicit] |
Constructs a PhoneNetworkStatusIndicator.
| 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.
:
StatusIndicator(parent)
{
setObjectName(metaObject()->className());
networkName = createContextItem(context, "Cellular.NetworkName");
connect(networkName, SIGNAL(contentsChanged()), this, SLOT(phoneNetworkChanged()));
connect(&networkChangeShowVisitorTimer, SIGNAL(timeout()), this, SLOT(showVisitorNetworkName()));
networkChangeShowVisitorTimer.setSingleShot(true);
networkChangeShowVisitorTimer.setInterval(3*1000);
phoneNetworkChanged();
}

| PhoneNetworkStatusIndicator::~PhoneNetworkStatusIndicator | ( | ) | [virtual] |
Definition at line 457 of file statusindicator.cpp.
{
}
| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:19:35 Doxygen 1.7.1 |
MeeGo Touch |