MCEPrivate class. More...
#include <mceprivate.h>

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. | |
| MCE * | m_parent |
| Parent object. | |
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.
| MCEPrivate::MCEPrivate | ( | QObject * | parent | ) |
Constructor.
| parent | QObject |
| MCEPrivate::MCEPrivate | ( | QObject * | parent | ) |
Constructor.
| parent | QObject |
| void MCEPrivate::displayStateChanged | ( | const QDBusMessage & | message | ) | [private, slot] |
Slot for display state changed.
| void MCEPrivate::displayStateError | ( | const QDBusError & | error | ) | [private, slot] |
Display state error.
| error | QDBusError |
| bool MCEPrivate::isDisplayOn | ( | ) |
Is the display on.
RETURNS TRUE.
| bool MCEPrivate::isDisplayOn | ( | ) |
Is the display on.
| bool MCEPrivate::isTouchscreenVibrationEnabled | ( | ) | [private] |
Is the touchscreen vibration enabled.
Reads settings from file.
| void MCEPrivate::setDisplayState | ( | const QString & | state | ) | [private, slot] |
Sets display state.
| 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.
1.6.1