MCEPrivate Class Reference

MCEPrivate class. More...

#include <mceprivate.h>

Collaboration diagram for MCEPrivate:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MCEPrivate (QObject *parent)
 Constructor.
bool isDisplayOn ()
 Is the display on.
void vibrationFeedback ()
 Vibrates the phone for short time.
 MCEPrivate (QObject *parent)
 Constructor.
bool isDisplayOn ()
 Is the display on.
void vibrationFeedback ()
 Vibrates the phone for short time.

Private Slots

void displayStateChanged (const QDBusMessage &message)
 Slot for display state changed.
void displayStateError (const QDBusError &error)
 Display state error.
void setDisplayState (const QString &state)
 Sets display state.
void stopVibration ()
 Stops vibration.

Private Member Functions

bool isTouchscreenVibrationEnabled ()
 Is the touchscreen vibration enabled.

Private Attributes

bool m_displayOn
 Flag for display on/off.
QDBusInterface * m_dBusInterface
 D-Bus interface.
MCEm_parent
 Parent object.

Detailed Description

MCEPrivate class.

MCEPrivate class does nothing.

Mode Control Entity (MCE) controls phone and listens changes in phone state.

Class is used when not compiling to Maemo.


Constructor & Destructor Documentation

MCEPrivate::MCEPrivate ( QObject *  parent  ) 

Constructor.

Parameters:
parent QObject
MCEPrivate::MCEPrivate ( QObject *  parent  ) 

Constructor.

Parameters:
parent QObject

Member Function Documentation

void MCEPrivate::displayStateChanged ( const QDBusMessage &  message  )  [private, slot]

Slot for display state changed.

Returns:
message QDBusMessage
void MCEPrivate::displayStateError ( const QDBusError &  error  )  [private, slot]

Display state error.

Parameters:
error QDBusError
bool MCEPrivate::isDisplayOn (  ) 

Is the display on.

RETURNS TRUE.

Returns:
true if on, false if off.
bool MCEPrivate::isDisplayOn (  ) 

Is the display on.

Returns:
true if on, false if off.
bool MCEPrivate::isTouchscreenVibrationEnabled (  )  [private]

Is the touchscreen vibration enabled.

Reads settings from file.

Returns:
true if enabled, false otherwise
void MCEPrivate::setDisplayState ( const QString &  state  )  [private, slot]

Sets display state.

Parameters:
state display state
void MCEPrivate::vibrationFeedback (  ) 

Vibrates the phone for short time.

DOES NOTHING.

void MCEPrivate::vibrationFeedback (  ) 

Vibrates the phone for short time.

Uses pre-defined vibration pattern.


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

Generated on Fri Sep 3 12:05:41 2010 for Situare client for Maemo by  doxygen 1.6.1