equal
deleted
inserted
replaced
23 ** |
23 ** |
24 ****************************************************************************/ |
24 ****************************************************************************/ |
25 |
25 |
26 #include "hboogmwatcher_sym_p.h" |
26 #include "hboogmwatcher_sym_p.h" |
27 #include "hbiconloader_p.h" |
27 #include "hbiconloader_p.h" |
|
28 #include "hbmainwindow_p.h" |
28 #include <QApplication> |
29 #include <QApplication> |
29 #include <QSymbianEvent> |
30 #include <QSymbianEvent> |
30 #include <e32debug.h> |
31 #include <e32debug.h> |
31 #include <w32std.h> |
32 #include <w32std.h> |
32 |
33 |
61 HbIconLoader::global()->handleForegroundLost(); |
62 HbIconLoader::global()->handleForegroundLost(); |
62 } |
63 } |
63 break; |
64 break; |
64 } |
65 } |
65 } |
66 } |
66 // If there was an event filter set previously then call it. Otherwise |
67 // If there was an event filter set previously then call it. Otherwise let the common |
67 // return false (let through any events, even the ones handled above). |
68 // helper function decide what to do (true = eat event, false = let through). |
68 return prevEventFilter ? prevEventFilter(message, result) : false; |
69 return prevEventFilter ? prevEventFilter(message, result) |
|
70 : HbMainWindowPrivate::shouldStopEvent(message, result); |
69 } |
71 } |
70 |
72 |
71 HbOogmWatcherPrivate::HbOogmWatcherPrivate() |
73 HbOogmWatcherPrivate::HbOogmWatcherPrivate() |
72 { |
74 { |
73 // Standard app event filtering is not suitable here, must use |
75 // Standard app event filtering is not suitable here, must use |