DialerControl Class Reference
The DialerControl class provides a convenient interface to
a PhoneLine.
More...
#include <dialercontrol.h>
Inherits QObject.
List of all member functions.
Public Members
Public Slots
- PhoneCall createCall ( PhoneLineType lineType = GSM_LINE )
- void dial ( const QString & number, bool sendcallerid, const QUuid & cnt, PhoneLineType lineType = GSM_LINE )
- void endCall ()
- void endAllCalls ()
- void accept ()
- void hold ()
- void unhold ()
- void join ()
- void sendBusy ()
- void controlIncomingCallsOnLine ()
- void transfer ()
- void recordCall ( const PhoneCall & call )
Signals
Detailed Description
The DialerControl class provides a convenient interface to
a PhoneLine.
The DialerControl class make making calls and keeping track of calls
simpler than dealing with PhoneLine class directly.
Member Function Documentation
DialerControl::DialerControl ( QObject * parent = 0, const char * name = 0 )
Constructs a DialerControl object.
void DialerControl::accept () [slot]
Accepts an incoming call. Has no effect if there is no incoming call.
QValueList<PhoneCall> DialerControl::activeCalls () const
Returns the list of calls in the active state (i.e. not on hold).
uint DialerControl::activeCallsCount () const
Returns the number of active calls (i.e. calls not on hold).
void DialerControl::callConnected ( const PhoneCall & call ) [signal]
This signal is emitted when an outgoing call is connected. call is
the associated PhoneCall object.
void DialerControl::callCreated ( const PhoneCall & call ) [signal]
This signal is emitted whenever any new call is created. call is
the associated PhoneCall object.
void DialerControl::callDialing ( const PhoneCall & call ) [signal]
This signal is emitted when a call begins dialing. call is
the associated PhoneCall object.
void DialerControl::callDropped ( const PhoneCall & call ) [signal]
This signal is emitted when a call is dropped or missed. call is
the associated PhoneCall object.
void DialerControl::callIncoming ( const PhoneCall & call ) [signal]
This signal is emitted when an incoming call arrives. call is
the associated PhoneCall object.
CallList & DialerControl::callList ()
Returns the current list of calls.
void DialerControl::callMissed ( const PhoneCall & call ) [signal]
This signal is emitted when a call is considered missed. call is
the associated PhoneCall object.
void DialerControl::callPutOnHold ( const PhoneCall & call ) [signal]
This signal is emitted when a call is placed on hold. call is
the associated PhoneCall object.
QValueList<PhoneCall> DialerControl::callsOnHold () const
Returns the list of calls on hold.
uint DialerControl::callsOnHoldCount () const
Returns the number of calls on hold.
void DialerControl::dial ( const QString & number, bool sendcallerid, const QUuid & cnt, PhoneLineType lineType = GSM_LINE ) [slot]
Dials a number if there are no currently active calls.
Before calling this function, you should check that there are no
incoming calls, or active calls.
void DialerControl::endAllCalls () [slot]
Ends all calls, whether dialing, active, incoming, or on hold.
void DialerControl::endCall () [slot]
Ends the current call(s). The current call(s) is searched for in this order:
1. Currently dialing call
2. Active calls
3. Incoming call
4. Calls on Hold
bool DialerControl::hasActiveCalls () const
Returns TRUE if there are any active calls (i.e. calls not on hold).
bool DialerControl::hasCallsOnHold () const
Returns TRUE if there are any calls on hold.
bool DialerControl::hasIncomingCall () const
Returns TRUE if there is an incoming call (i.e. not yet answered).
void DialerControl::hold () [slot]
Places the active calls on hold. If there were calls already on hold,
they will become active.
PhoneCall DialerControl::incomingCall () const
Returns the incoming call. If there is no incoming call, PhoneCall::null
is returned.
bool DialerControl::isConnected () const
Returns TRUE if there are any calls active or on hold.
bool DialerControl::isDialing () const
Returns TRUE if there is an outgoing call currently dialing, but not
yet connected.
void DialerControl::join () [slot]
Joins the active calls and calls on hold to form a multiparty call.
void DialerControl::locationChanged ( const QString & location ) [signal]
This signal is emitted when the cell location changes.
void DialerControl::missed ( const QString & number ) [signal]
This signal is emitted when a call is considered missed. number is
the phone number of the missed call.
void DialerControl::sendBusy () [slot]
Sends a busy signal to an incoming call.
void DialerControl::stateChanged () [signal]
This signal is emitted when any call state changes.
void DialerControl::transfer () [slot]
void DialerControl::unhold () [slot]
Makes calls on hold active.
This file is part of the Qtopia platform,
copyright © 1995-2005
Trolltech, all rights reserved.
| Copyright © 2005 Trolltech
| Trademarks
| Qtopia version 2.2.0
|