Provides information and actions to call state and type. More...
#include <qmcallstate.h>
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 |
Provides information and actions to call state and type.
Definition at line 51 of file qmcallstate.h.
Possible call states
Definition at line 62 of file qmcallstate.h.
Possible call types
Definition at line 71 of file qmcallstate.h.
MeeGo::QmCallState::QmCallState | ( | QObject * | parent = 0 |
) |
MeeGo::QmCallState::~QmCallState | ( | ) |
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.
QmCallState::Type MeeGo::QmCallState::getType | ( | ) | const |
Gets the current call type.
bool MeeGo::QmCallState::setState | ( | QmCallState::State | state, | |
QmCallState::Type | type | |||
) |
Sets the current call state and type.
state | State to set | |
type | Type to set |
void MeeGo::QmCallState::stateChanged | ( | MeeGo::QmCallState::State | state, | |
MeeGo::QmCallState::Type | type | |||
) | [signal] |
Sent when call state has changed.
state | Current call state | |
type | Current call type |
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.