Home · All Classes · Annotated · Functions

QPhoneSignal Class Reference

The QPhoneSignal class monitors the phone signal strength. More...

#include <QPhoneSignal>

Inherits QObject.

Public Functions

Signals

Additional Inherited Members


Detailed Description

The QPhoneSignal class monitors the phone signal strength.

The QPhoneSignal class monitors the phone signal strength, emitting QPhoneSignal::strengthChanged signals whenever the value changes. Using this class is more efficient than polling the QPhoneLine::SignalQuality setting.


Member Function Documentation

QPhoneSignal::QPhoneSignal ( QObject * parent = 0, const QString & lineName = QString() )

Constructs a new phone signal monitoring object attached to parent. The phone line to monitor is called lineName.

QPhoneSignal::~QPhoneSignal ()

Destructs the QPhoneSignal object.

int QPhoneSignal::strength () const

Get the current phone signal strength.

void QPhoneSignal::strengthChanged ( int strength )   [signal]

Signal that is emitted when the phone signal strength changes.

int QPhoneSignal::strengthMaximum () const

Get the maximum strength value. Return values from QPhoneSignal::strength will range between 0 and this value, inclusive.


Copyright © 2006 Trolltech Trademarks
Qtopia 4.1.7