diff -r 11d3954df52a -r 627c4a0fd0e7 src/hbcore/core/hbevent.cpp --- a/src/hbcore/core/hbevent.cpp Thu May 27 13:10:59 2010 +0300 +++ b/src/hbcore/core/hbevent.cpp Fri Jun 11 13:58:22 2010 +0300 @@ -42,25 +42,25 @@ This class supports following extra types of events besides those supported by QEvent - ChildFocusIn - This event is sent from child widget to parent widget to notify that the child - has got the focus. Normally the parent may show some visualization + ChildFocusIn - This event is sent from child widget to parent widget to notify that the child + has got the focus. Normally the parent may show some visualization change when its child gets focus. - ChildFocusOut - This event is sent from child widget to parent widget to notify that the child - has lost the focus. Normally the parent may show some visualization + ChildFocusOut - This event is sent from child widget to parent widget to notify that the child + has lost the focus. Normally the parent may show some visualization change when its child gets focus. - ThemeChanged - This event is sent to all QGraphicsWidget. The widget can handle this event by + ThemeChanged - This event is sent to all QGraphicsWidget. The widget can handle this event by implementing changeEvent() virtual function. - DeviceProfileChanged - This event is sent by the system when device's device profile - (screen resolution) changes. The event causes automatic polish call and - the event can be catched in event(QEvent *event) method. + DeviceProfileChanged - This event is sent by the system when device's device profile + (screen resolution) changes. The event causes automatic polish call and + the event can be caught in event(QEvent *event) method. - SleepModeEnter - This event is sent by the system when the phone enters to the sleep mode. + SleepModeEnter - This event is sent by the system when the phone enters to the sleep mode. If your application/component needs to take some action when entering the sleep mode then you can do it in event(QEvent *event) method. - + SleepModeExit - This event is sent by the system when the phone exist from the sleep mode. If your application/component needs to take some action when exiting the sleep mode then you can do it in event(QEvent *event) method. @@ -71,7 +71,7 @@ Example of how to send HbEvent \snippet{gui/hbwidget.cpp,1} - + Example of how to receive HbEvent \snippet{gui/hbwidget.cpp,2} */ @@ -81,7 +81,7 @@ \a eventType - type of event */ HbEvent::HbEvent(int eventType) -: QEvent((QEvent::Type)eventType) + : QEvent((QEvent::Type)eventType) { }