Public Member Functions

MeeGo::QmLED Class Reference

Provides information and actions on device LED. More...

#include <qmled.h>

List of all members.

Public Member Functions

 QmLED (QObject *parent=0)
 ~QmLED ()
bool activate (const QString &pattern)
bool deactivate (const QString &pattern)
bool enable (void)
bool disable (void)

Detailed Description

Provides information and actions on device LED.

Scope:
Internal

Definition at line 46 of file qmled.h.


Constructor & Destructor Documentation

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

Member Function Documentation

bool MeeGo::QmLED::activate ( const QString &  pattern  ) 

Activates the pattern in device LED.

Credential:
mce::LEDControl Resource token required to activate the pattern.
Parameters:
pattern Pattern to activate
Returns:
False if LED functionality is not available or cannot be set
Todo:
Add description of strings for patterns.
bool MeeGo::QmLED::deactivate ( const QString &  pattern  ) 

Deactivates the pattern in device LED.

Credential:
mce::LEDControl Resource token required to deactivate the pattern.
Parameters:
pattern Pattern to deactivate
Returns:
False if LED functionality is not available or cannot be set
Todo:
Add description of string for patterns.
bool MeeGo::QmLED::disable ( void   ) 

Disables the device LED.

Credential:
mce::LEDControl Resource token required to disable LED.
Returns:
False if LED functionality is not available or cannot be set
bool MeeGo::QmLED::enable ( void   ) 

Enables the device LED.

Credential:
mce::LEDControl Resource token required to enable LED.
Returns:
False if LED functionality is not available or cannot be set

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