QmActivity provides information about user activity. More...
#include <qmactivity.h>
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
Definition at line 51 of file qmactivity.h.
Possible user activity states.
Definition at line 59 of file qmactivity.h.
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] |
void MeeGo::QmActivity::disconnectNotify | ( | const char * | signal | ) | [protected] |
Activity MeeGo::QmActivity::get | ( | ) | const |
Gets the current activity state.
Activity MeeGo::QmActivity::status [read] |
Definition at line 55 of file qmactivity.h.