Public Types | Signals | Public Member Functions | Protected Member Functions | Properties

MeeGo::QmCallState Class Reference

Provides information and actions to call state and type. More...

#include <qmcallstate.h>

List of all members.

Public Types

enum  State { Error = -1, None = 0, Active, Service }
enum  Type { Normal = 0, Emergency, Unknown }

Signals

void stateChanged (MeeGo::QmCallState::State state, MeeGo::QmCallState::Type type)

Public Member Functions

 QmCallState (QObject *parent=0)
 ~QmCallState ()
QmCallState::State getState () const
QmCallState::Type getType () const
bool setState (QmCallState::State state, QmCallState::Type type)

Protected Member Functions

void connectNotify (const char *signal)
void disconnectNotify (const char *signal)

Properties

State state
Type type

Detailed Description

Provides information and actions to call state and type.

Scope:
Internal

Definition at line 51 of file qmcallstate.h.


Member Enumeration Documentation

Possible call states

Enumerator:
Error 

State could not be figured out.

None 

No call

Active 

Active call

Service 

Service

Definition at line 62 of file qmcallstate.h.

Possible call types

Enumerator:
Normal 

Normal call

Emergency 

Emergency call

Unknown 

State is not Active or Service

Definition at line 71 of file qmcallstate.h.


Constructor & Destructor Documentation

MeeGo::QmCallState::QmCallState ( QObject *  parent = 0  ) 
MeeGo::QmCallState::~QmCallState (  ) 

Member Function Documentation

void MeeGo::QmCallState::connectNotify ( const char *  signal  )  [protected]
void MeeGo::QmCallState::disconnectNotify ( const char *  signal  )  [protected]
QmCallState::State MeeGo::QmCallState::getState (  )  const

Gets the current call state.

Returns:
Current call state
QmCallState::Type MeeGo::QmCallState::getType (  )  const

Gets the current call type.

Returns:
Current call type
bool MeeGo::QmCallState::setState ( QmCallState::State  state,
QmCallState::Type  type 
)

Sets the current call state and type.

Credential:
mce::CallStateControl Resource token required to set the call state.
Parameters:
state State to set
type Type to set
Returns:
True if a valid mode was requested, false otherwise
void MeeGo::QmCallState::stateChanged ( MeeGo::QmCallState::State  state,
MeeGo::QmCallState::Type  type 
) [signal]

Sent when call state has changed.

Parameters:
state Current call state
type Current call type

Property Documentation

State MeeGo::QmCallState::state [read]

Definition at line 56 of file qmcallstate.h.

Type MeeGo::QmCallState::type [read]

Definition at line 57 of file qmcallstate.h.


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