QmActivity provides information about user activity. More...
Public Types |
|
| enum | Activity { Inactive = 0, Active } |
|
Possible user activity states. More... |
|
Signals |
|
| void | activityChanged (MeeGo::QmActivity::Activity activity) |
| Sent when activity state has changed. |
|
Public Member Functions |
|
| QmActivity (QObject *parent=0) | |
| Constructor. |
|
| ~QmActivity () | |
| Destructor. |
|
| Activity | get () const |
| Gets the current activity state. |
|
Protected Member Functions |
|
| void | connectNotify (const char *signal) |
| void | disconnectNotify (const char *signal) |
Properties |
|
| Activity | status |
QmActivity provides information about user activity.
QmActivity offers a getter method as well as a changed signal for the user activity state. The state is fetched from the mce daemon
| MeeGo::QmActivity::QmActivity | ( | QObject * | parent = 0 |
) |
Constructor.
| parent | The possible parent object |
| MeeGo::QmActivity::~QmActivity | ( | ) |
Destructor.
| void MeeGo::QmActivity::activityChanged | ( | MeeGo::QmActivity::Activity | activity | ) | [signal] |
Sent when activity state has changed.
| activity | The new activity state | |
| activity | The new activity state |
| void MeeGo::QmActivity::connectNotify | ( | const char * | signal | ) | [protected, virtual] |
Reimplemented from QObject.
| void MeeGo::QmActivity::disconnectNotify | ( | const char * | signal | ) | [protected, virtual] |
Reimplemented from QObject.
| Activity MeeGo::QmActivity::get | ( | ) | const |
Gets the current activity state.
Activity MeeGo::QmActivity::status [read] |
| (C) 2009-2011 Nokia Corporation LGPL Lesser General Public License |
MeeGo 1.2 Harmattan API
|



