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

MeeGo::QmActivity Class Reference

QmActivity provides information about user activity. More...

#include <qmactivity.h>

List of all members.

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

Detailed Description

QmActivity provides information about user activity.

Scope:
Nokia Meego

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.


Member Enumeration Documentation

Possible user activity states.

Enumerator:
Inactive 

Inactive.

Active 

Active.

Definition at line 59 of file qmactivity.h.


Constructor & Destructor Documentation

MeeGo::QmActivity::QmActivity ( QObject *  parent = 0  ) 

Constructor.

Parameters:
parent The possible parent object
MeeGo::QmActivity::~QmActivity (  ) 

Destructor.


Member Function Documentation

void MeeGo::QmActivity::activityChanged ( MeeGo::QmActivity::Activity  activity  )  [signal]

Sent when activity state has changed.

Parameters:
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.

Returns:
The current activity state

Property Documentation

Activity MeeGo::QmActivity::status [read]

Definition at line 55 of file qmactivity.h.


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