qguistatemachine.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/widgets/statemachine/qguistatemachine.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7__attribute__((visibility("default"))) const QStateMachinePrivate::Handler *qcoreStateMachineHandler();-
8-
9static QEvent *cloneEvent(QEvent *e)-
10{-
11 switch (e->type()) {-
12 case
never executed: case QEvent::MouseButtonPress:
QEvent::MouseButtonPress:
never executed: case QEvent::MouseButtonPress:
0
13 case
never executed: case QEvent::MouseButtonRelease:
QEvent::MouseButtonRelease:
never executed: case QEvent::MouseButtonRelease:
0
14 case
never executed: case QEvent::MouseButtonDblClick:
QEvent::MouseButtonDblClick:
never executed: case QEvent::MouseButtonDblClick:
0
15 case
never executed: case QEvent::MouseMove:
QEvent::MouseMove:
never executed: case QEvent::MouseMove:
0
16 return
never executed: return new QMouseEvent(*static_cast<QMouseEvent*>(e));
new QMouseEvent(*static_cast<QMouseEvent*>(e));
never executed: return new QMouseEvent(*static_cast<QMouseEvent*>(e));
0
17 case
never executed: case QEvent::KeyPress:
QEvent::KeyPress:
never executed: case QEvent::KeyPress:
0
18 case
never executed: case QEvent::KeyRelease:
QEvent::KeyRelease:
never executed: case QEvent::KeyRelease:
0
19 return
never executed: return new QKeyEvent(*static_cast<QKeyEvent*>(e));
new QKeyEvent(*static_cast<QKeyEvent*>(e));
never executed: return new QKeyEvent(*static_cast<QKeyEvent*>(e));
0
20 case
never executed: case QEvent::FocusIn:
QEvent::FocusIn:
never executed: case QEvent::FocusIn:
0
21 case
never executed: case QEvent::FocusOut:
QEvent::FocusOut:
never executed: case QEvent::FocusOut:
0
22 return
never executed: return new QFocusEvent(*static_cast<QFocusEvent*>(e));
new QFocusEvent(*static_cast<QFocusEvent*>(e));
never executed: return new QFocusEvent(*static_cast<QFocusEvent*>(e));
0
23 case
never executed: case QEvent::Enter:
QEvent::Enter:
never executed: case QEvent::Enter:
0
24 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
25 case
never executed: case QEvent::Leave:
QEvent::Leave:
never executed: case QEvent::Leave:
0
26 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
27 case
never executed: case QEvent::Paint:
QEvent::Paint:
never executed: case QEvent::Paint:
0
28 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,71) : qt_noop());-
29 break;
never executed: break;
0
30 case
never executed: case QEvent::Move:
QEvent::Move:
never executed: case QEvent::Move:
0
31 return
never executed: return new QMoveEvent(*static_cast<QMoveEvent*>(e));
new QMoveEvent(*static_cast<QMoveEvent*>(e));
never executed: return new QMoveEvent(*static_cast<QMoveEvent*>(e));
0
32 case
never executed: case QEvent::Resize:
QEvent::Resize:
never executed: case QEvent::Resize:
0
33 return
never executed: return new QResizeEvent(*static_cast<QResizeEvent*>(e));
new QResizeEvent(*static_cast<QResizeEvent*>(e));
never executed: return new QResizeEvent(*static_cast<QResizeEvent*>(e));
0
34 case
never executed: case QEvent::Create:
QEvent::Create:
never executed: case QEvent::Create:
0
35 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,78) : qt_noop());-
36 break;
never executed: break;
0
37 case
never executed: case QEvent::Destroy:
QEvent::Destroy:
never executed: case QEvent::Destroy:
0
38 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,81) : qt_noop());-
39 break;
never executed: break;
0
40 case
never executed: case QEvent::Show:
QEvent::Show:
never executed: case QEvent::Show:
0
41 return
never executed: return new QShowEvent(*static_cast<QShowEvent*>(e));
new QShowEvent(*static_cast<QShowEvent*>(e));
never executed: return new QShowEvent(*static_cast<QShowEvent*>(e));
0
42 case
never executed: case QEvent::Hide:
QEvent::Hide:
never executed: case QEvent::Hide:
0
43 return
never executed: return new QHideEvent(*static_cast<QHideEvent*>(e));
new QHideEvent(*static_cast<QHideEvent*>(e));
never executed: return new QHideEvent(*static_cast<QHideEvent*>(e));
0
44 case
never executed: case QEvent::Close:
QEvent::Close:
never executed: case QEvent::Close:
0
45 return
never executed: return new QCloseEvent(*static_cast<QCloseEvent*>(e));
new QCloseEvent(*static_cast<QCloseEvent*>(e));
never executed: return new QCloseEvent(*static_cast<QCloseEvent*>(e));
0
46 case
never executed: case QEvent::Quit:
QEvent::Quit:
never executed: case QEvent::Quit:
0
47 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
48 case
never executed: case QEvent::ParentChange:
QEvent::ParentChange:
never executed: case QEvent::ParentChange:
0
49 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
50 case
never executed: case QEvent::ParentAboutToChange:
QEvent::ParentAboutToChange:
never executed: case QEvent::ParentAboutToChange:
0
51 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
52 case
never executed: case QEvent::ThreadChange:
QEvent::ThreadChange:
never executed: case QEvent::ThreadChange:
0
53 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
54-
55 case
never executed: case QEvent::WindowActivate:
QEvent::WindowActivate:
never executed: case QEvent::WindowActivate:
0
56 case
never executed: case QEvent::WindowDeactivate:
QEvent::WindowDeactivate:
never executed: case QEvent::WindowDeactivate:
0
57 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
58-
59 case
never executed: case QEvent::ShowToParent:
QEvent::ShowToParent:
never executed: case QEvent::ShowToParent:
0
60 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
61 case
never executed: case QEvent::HideToParent:
QEvent::HideToParent:
never executed: case QEvent::HideToParent:
0
62 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
63-
64 case
never executed: case QEvent::Wheel:
QEvent::Wheel:
never executed: case QEvent::Wheel:
0
65 return
never executed: return new QWheelEvent(*static_cast<QWheelEvent*>(e));
new QWheelEvent(*static_cast<QWheelEvent*>(e));
never executed: return new QWheelEvent(*static_cast<QWheelEvent*>(e));
0
66-
67 case
never executed: case QEvent::WindowTitleChange:
QEvent::WindowTitleChange:
never executed: case QEvent::WindowTitleChange:
0
68 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
69 case
never executed: case QEvent::WindowIconChange:
QEvent::WindowIconChange:
never executed: case QEvent::WindowIconChange:
0
70 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
71 case
never executed: case QEvent::ApplicationWindowIconChange:
QEvent::ApplicationWindowIconChange:
never executed: case QEvent::ApplicationWindowIconChange:
0
72 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
73 case
never executed: case QEvent::ApplicationFontChange:
QEvent::ApplicationFontChange:
never executed: case QEvent::ApplicationFontChange:
0
74 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
75 case
never executed: case QEvent::ApplicationLayoutDirectionChange:
QEvent::ApplicationLayoutDirectionChange:
never executed: case QEvent::ApplicationLayoutDirectionChange:
0
76 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
77 case
never executed: case QEvent::ApplicationPaletteChange:
QEvent::ApplicationPaletteChange:
never executed: case QEvent::ApplicationPaletteChange:
0
78 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
79 case
never executed: case QEvent::PaletteChange:
QEvent::PaletteChange:
never executed: case QEvent::PaletteChange:
0
80 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
81 case
never executed: case QEvent::Clipboard:
QEvent::Clipboard:
never executed: case QEvent::Clipboard:
0
82 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,125) : qt_noop());-
83 break;
never executed: break;
0
84 case
never executed: case QEvent::Speech:
QEvent::Speech:
never executed: case QEvent::Speech:
0
85 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,128) : qt_noop());-
86 break;
never executed: break;
0
87 case
never executed: case QEvent::MetaCall:
QEvent::MetaCall:
never executed: case QEvent::MetaCall:
0
88 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,131) : qt_noop());-
89 break;
never executed: break;
0
90 case
never executed: case QEvent::SockAct:
QEvent::SockAct:
never executed: case QEvent::SockAct:
0
91 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
92 case
never executed: case QEvent::WinEventAct:
QEvent::WinEventAct:
never executed: case QEvent::WinEventAct:
0
93 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
94 case
never executed: case QEvent::DeferredDelete:
QEvent::DeferredDelete:
never executed: case QEvent::DeferredDelete:
0
95 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
96-
97 case
never executed: case QEvent::DragEnter:
QEvent::DragEnter:
never executed: case QEvent::DragEnter:
0
98 return
never executed: return new QDragEnterEvent(*static_cast<QDragEnterEvent*>(e));
new QDragEnterEvent(*static_cast<QDragEnterEvent*>(e));
never executed: return new QDragEnterEvent(*static_cast<QDragEnterEvent*>(e));
0
99 case
never executed: case QEvent::DragMove:
QEvent::DragMove:
never executed: case QEvent::DragMove:
0
100 return
never executed: return new QDragMoveEvent(*static_cast<QDragMoveEvent*>(e));
new QDragMoveEvent(*static_cast<QDragMoveEvent*>(e));
never executed: return new QDragMoveEvent(*static_cast<QDragMoveEvent*>(e));
0
101 case
never executed: case QEvent::DragLeave:
QEvent::DragLeave:
never executed: case QEvent::DragLeave:
0
102 return
never executed: return new QDragLeaveEvent(*static_cast<QDragLeaveEvent*>(e));
new QDragLeaveEvent(*static_cast<QDragLeaveEvent*>(e));
never executed: return new QDragLeaveEvent(*static_cast<QDragLeaveEvent*>(e));
0
103 case
never executed: case QEvent::Drop:
QEvent::Drop:
never executed: case QEvent::Drop:
0
104 return
never executed: return new QDropEvent(*static_cast<QDragMoveEvent*>(e));
new QDropEvent(*static_cast<QDragMoveEvent*>(e));
never executed: return new QDropEvent(*static_cast<QDragMoveEvent*>(e));
0
105-
106 case
never executed: case QEvent::ChildAdded:
QEvent::ChildAdded:
never executed: case QEvent::ChildAdded:
0
107 return
never executed: return new QChildEvent(*static_cast<QChildEvent*>(e));
new QChildEvent(*static_cast<QChildEvent*>(e));
never executed: return new QChildEvent(*static_cast<QChildEvent*>(e));
0
108 case
never executed: case QEvent::ChildPolished:
QEvent::ChildPolished:
never executed: case QEvent::ChildPolished:
0
109 return
never executed: return new QChildEvent(*static_cast<QChildEvent*>(e));
new QChildEvent(*static_cast<QChildEvent*>(e));
never executed: return new QChildEvent(*static_cast<QChildEvent*>(e));
0
110 case
never executed: case QEvent::ChildRemoved:
QEvent::ChildRemoved:
never executed: case QEvent::ChildRemoved:
0
111 return
never executed: return new QChildEvent(*static_cast<QChildEvent*>(e));
new QChildEvent(*static_cast<QChildEvent*>(e));
never executed: return new QChildEvent(*static_cast<QChildEvent*>(e));
0
112 case
never executed: case QEvent::ShowWindowRequest:
QEvent::ShowWindowRequest:
never executed: case QEvent::ShowWindowRequest:
0
113 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
114 case
never executed: case QEvent::PolishRequest:
QEvent::PolishRequest:
never executed: case QEvent::PolishRequest:
0
115 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
116 case
never executed: case QEvent::Polish:
QEvent::Polish:
never executed: case QEvent::Polish:
0
117 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
118 case
never executed: case QEvent::LayoutRequest:
QEvent::LayoutRequest:
never executed: case QEvent::LayoutRequest:
0
119 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
120 case
never executed: case QEvent::UpdateRequest:
QEvent::UpdateRequest:
never executed: case QEvent::UpdateRequest:
0
121 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
122 case
never executed: case QEvent::UpdateLater:
QEvent::UpdateLater:
never executed: case QEvent::UpdateLater:
0
123 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
124-
125 case
never executed: case QEvent::EmbeddingControl:
QEvent::EmbeddingControl:
never executed: case QEvent::EmbeddingControl:
0
126 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
127 case
never executed: case QEvent::ActivateControl:
QEvent::ActivateControl:
never executed: case QEvent::ActivateControl:
0
128 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
129 case
never executed: case QEvent::DeactivateControl:
QEvent::DeactivateControl:
never executed: case QEvent::DeactivateControl:
0
130 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
131-
132-
133 case
never executed: case QEvent::ContextMenu:
QEvent::ContextMenu:
never executed: case QEvent::ContextMenu:
0
134 return
never executed: return new QContextMenuEvent(*static_cast<QContextMenuEvent*>(e));
new QContextMenuEvent(*static_cast<QContextMenuEvent*>(e));
never executed: return new QContextMenuEvent(*static_cast<QContextMenuEvent*>(e));
0
135-
136 case
never executed: case QEvent::InputMethod:
QEvent::InputMethod:
never executed: case QEvent::InputMethod:
0
137 return
never executed: return new QInputMethodEvent(*static_cast<QInputMethodEvent*>(e));
new QInputMethodEvent(*static_cast<QInputMethodEvent*>(e));
never executed: return new QInputMethodEvent(*static_cast<QInputMethodEvent*>(e));
0
138 case
never executed: case QEvent::LocaleChange:
QEvent::LocaleChange:
never executed: case QEvent::LocaleChange:
0
139 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
140 case
never executed: case QEvent::LanguageChange:
QEvent::LanguageChange:
never executed: case QEvent::LanguageChange:
0
141 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
142 case
never executed: case QEvent::LayoutDirectionChange:
QEvent::LayoutDirectionChange:
never executed: case QEvent::LayoutDirectionChange:
0
143 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
144 case
never executed: case QEvent::Style:
QEvent::Style:
never executed: case QEvent::Style:
0
145 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
146-
147 case
never executed: case QEvent::TabletMove:
QEvent::TabletMove:
never executed: case QEvent::TabletMove:
0
148 case
never executed: case QEvent::TabletPress:
QEvent::TabletPress:
never executed: case QEvent::TabletPress:
0
149 case
never executed: case QEvent::TabletRelease:
QEvent::TabletRelease:
never executed: case QEvent::TabletRelease:
0
150 return
never executed: return new QTabletEvent(*static_cast<QTabletEvent*>(e));
new QTabletEvent(*static_cast<QTabletEvent*>(e));
never executed: return new QTabletEvent(*static_cast<QTabletEvent*>(e));
0
151-
152 case
never executed: case QEvent::OkRequest:
QEvent::OkRequest:
never executed: case QEvent::OkRequest:
0
153 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
154 case
never executed: case QEvent::HelpRequest:
QEvent::HelpRequest:
never executed: case QEvent::HelpRequest:
0
155 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
156-
157 case
never executed: case QEvent::IconDrag:
QEvent::IconDrag:
never executed: case QEvent::IconDrag:
0
158 return
never executed: return new QIconDragEvent(*static_cast<QIconDragEvent*>(e));
new QIconDragEvent(*static_cast<QIconDragEvent*>(e));
never executed: return new QIconDragEvent(*static_cast<QIconDragEvent*>(e));
0
159-
160 case
never executed: case QEvent::FontChange:
QEvent::FontChange:
never executed: case QEvent::FontChange:
0
161 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
162 case
never executed: case QEvent::EnabledChange:
QEvent::EnabledChange:
never executed: case QEvent::EnabledChange:
0
163 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
164 case
never executed: case QEvent::ActivationChange:
QEvent::ActivationChange:
never executed: case QEvent::ActivationChange:
0
165 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
166 case
never executed: case QEvent::StyleChange:
QEvent::StyleChange:
never executed: case QEvent::StyleChange:
0
167 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
168 case
never executed: case QEvent::IconTextChange:
QEvent::IconTextChange:
never executed: case QEvent::IconTextChange:
0
169 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
170 case
never executed: case QEvent::ModifiedChange:
QEvent::ModifiedChange:
never executed: case QEvent::ModifiedChange:
0
171 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
172 case
never executed: case QEvent::MouseTrackingChange:
QEvent::MouseTrackingChange:
never executed: case QEvent::MouseTrackingChange:
0
173 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
174-
175 case
never executed: case QEvent::WindowBlocked:
QEvent::WindowBlocked:
never executed: case QEvent::WindowBlocked:
0
176 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
177 case
never executed: case QEvent::WindowUnblocked:
QEvent::WindowUnblocked:
never executed: case QEvent::WindowUnblocked:
0
178 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
179 case
never executed: case QEvent::WindowStateChange:
QEvent::WindowStateChange:
never executed: case QEvent::WindowStateChange:
0
180 return
never executed: return new QWindowStateChangeEvent(*static_cast<QWindowStateChangeEvent*>(e));
new QWindowStateChangeEvent(*static_cast<QWindowStateChangeEvent*>(e));
never executed: return new QWindowStateChangeEvent(*static_cast<QWindowStateChangeEvent*>(e));
0
181-
182 case
never executed: case QEvent::ToolTip:
QEvent::ToolTip:
never executed: case QEvent::ToolTip:
0
183 return
never executed: return new QHelpEvent(*static_cast<QHelpEvent*>(e));
new QHelpEvent(*static_cast<QHelpEvent*>(e));
never executed: return new QHelpEvent(*static_cast<QHelpEvent*>(e));
0
184 case
never executed: case QEvent::WhatsThis:
QEvent::WhatsThis:
never executed: case QEvent::WhatsThis:
0
185 return
never executed: return new QHelpEvent(*static_cast<QHelpEvent*>(e));
new QHelpEvent(*static_cast<QHelpEvent*>(e));
never executed: return new QHelpEvent(*static_cast<QHelpEvent*>(e));
0
186-
187 case
never executed: case QEvent::StatusTip:
QEvent::StatusTip:
never executed: case QEvent::StatusTip:
0
188 return
never executed: return new QStatusTipEvent(*static_cast<QStatusTipEvent*>(e));
new QStatusTipEvent(*static_cast<QStatusTipEvent*>(e));
never executed: return new QStatusTipEvent(*static_cast<QStatusTipEvent*>(e));
0
189-
190-
191 case
never executed: case QEvent::ActionChanged:
QEvent::ActionChanged:
never executed: case QEvent::ActionChanged:
0
192 case
never executed: case QEvent::ActionAdded:
QEvent::ActionAdded:
never executed: case QEvent::ActionAdded:
0
193 case
never executed: case QEvent::ActionRemoved:
QEvent::ActionRemoved:
never executed: case QEvent::ActionRemoved:
0
194 return
never executed: return new QActionEvent(*static_cast<QActionEvent*>(e));
new QActionEvent(*static_cast<QActionEvent*>(e));
never executed: return new QActionEvent(*static_cast<QActionEvent*>(e));
0
195-
196 case
never executed: case QEvent::FileOpen:
QEvent::FileOpen:
never executed: case QEvent::FileOpen:
0
197 return
never executed: return new QFileOpenEvent(*static_cast<QFileOpenEvent*>(e));
new QFileOpenEvent(*static_cast<QFileOpenEvent*>(e));
never executed: return new QFileOpenEvent(*static_cast<QFileOpenEvent*>(e));
0
198-
199-
200 case
never executed: case QEvent::Shortcut:
QEvent::Shortcut:
never executed: case QEvent::Shortcut:
0
201 return
never executed: return new QShortcutEvent(*static_cast<QShortcutEvent*>(e));
new QShortcutEvent(*static_cast<QShortcutEvent*>(e));
never executed: return new QShortcutEvent(*static_cast<QShortcutEvent*>(e));
0
202-
203 case
never executed: case QEvent::ShortcutOverride:
QEvent::ShortcutOverride:
never executed: case QEvent::ShortcutOverride:
0
204 return
never executed: return new QKeyEvent(*static_cast<QKeyEvent*>(e));
new QKeyEvent(*static_cast<QKeyEvent*>(e));
never executed: return new QKeyEvent(*static_cast<QKeyEvent*>(e));
0
205-
206-
207 case
never executed: case QEvent::WhatsThisClicked:
QEvent::WhatsThisClicked:
never executed: case QEvent::WhatsThisClicked:
0
208 return
never executed: return new QWhatsThisClickedEvent(*static_cast<QWhatsThisClickedEvent*>(e));
new QWhatsThisClickedEvent(*static_cast<QWhatsThisClickedEvent*>(e));
never executed: return new QWhatsThisClickedEvent(*static_cast<QWhatsThisClickedEvent*>(e));
0
209-
210-
211-
212 case
never executed: case QEvent::ToolBarChange:
QEvent::ToolBarChange:
never executed: case QEvent::ToolBarChange:
0
213 return
never executed: return new QToolBarChangeEvent(*static_cast<QToolBarChangeEvent*>(e));
new QToolBarChangeEvent(*static_cast<QToolBarChangeEvent*>(e));
never executed: return new QToolBarChangeEvent(*static_cast<QToolBarChangeEvent*>(e));
0
214-
215-
216 case
never executed: case QEvent::ApplicationActivate:
QEvent::ApplicationActivate:
never executed: case QEvent::ApplicationActivate:
0
217 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
218 case
never executed: case QEvent::ApplicationDeactivate:
QEvent::ApplicationDeactivate:
never executed: case QEvent::ApplicationDeactivate:
0
219 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
220-
221 case
never executed: case QEvent::QueryWhatsThis:
QEvent::QueryWhatsThis:
never executed: case QEvent::QueryWhatsThis:
0
222 return
never executed: return new QHelpEvent(*static_cast<QHelpEvent*>(e));
new QHelpEvent(*static_cast<QHelpEvent*>(e));
never executed: return new QHelpEvent(*static_cast<QHelpEvent*>(e));
0
223 case
never executed: case QEvent::EnterWhatsThisMode:
QEvent::EnterWhatsThisMode:
never executed: case QEvent::EnterWhatsThisMode:
0
224 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
225 case
never executed: case QEvent::LeaveWhatsThisMode:
QEvent::LeaveWhatsThisMode:
never executed: case QEvent::LeaveWhatsThisMode:
0
226 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
227-
228 case
never executed: case QEvent::ZOrderChange:
QEvent::ZOrderChange:
never executed: case QEvent::ZOrderChange:
0
229 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
230-
231 case
never executed: case QEvent::HoverEnter:
QEvent::HoverEnter:
never executed: case QEvent::HoverEnter:
0
232 case
never executed: case QEvent::HoverLeave:
QEvent::HoverLeave:
never executed: case QEvent::HoverLeave:
0
233 case
never executed: case QEvent::HoverMove:
QEvent::HoverMove:
never executed: case QEvent::HoverMove:
0
234 return
never executed: return new QHoverEvent(*static_cast<QHoverEvent*>(e));
new QHoverEvent(*static_cast<QHoverEvent*>(e));
never executed: return new QHoverEvent(*static_cast<QHoverEvent*>(e));
0
235-
236-
237-
238-
239-
240-
241-
242 case
never executed: case QEvent::AcceptDropsChange:
QEvent::AcceptDropsChange:
never executed: case QEvent::AcceptDropsChange:
0
243 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
244-
245 case
never executed: case QEvent::ZeroTimerEvent:
QEvent::ZeroTimerEvent:
never executed: case QEvent::ZeroTimerEvent:
0
246 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,289) : qt_noop());-
247 break;
never executed: break;
0
248-
249 case
never executed: case QEvent::GraphicsSceneMouseMove:
QEvent::GraphicsSceneMouseMove:
never executed: case QEvent::GraphicsSceneMouseMove:
0
250 case
never executed: case QEvent::GraphicsSceneMousePress:
QEvent::GraphicsSceneMousePress:
never executed: case QEvent::GraphicsSceneMousePress:
0
251 case
never executed: case QEvent::GraphicsSceneMouseRelease:
QEvent::GraphicsSceneMouseRelease:
never executed: case QEvent::GraphicsSceneMouseRelease:
0
252 case
never executed: case QEvent::GraphicsSceneMouseDoubleClick:
QEvent::GraphicsSceneMouseDoubleClick:
never executed: case QEvent::GraphicsSceneMouseDoubleClick:
{
0
253 QGraphicsSceneMouseEvent *me = static_cast<QGraphicsSceneMouseEvent*>(e);-
254 QGraphicsSceneMouseEvent *me2 = new QGraphicsSceneMouseEvent(me->type());-
255 me2->setWidget(me->widget());-
256 me2->setPos(me->pos());-
257 me2->setScenePos(me->scenePos());-
258 me2->setScreenPos(me->screenPos());-
259-
260 me2->setButtonDownPos(Qt::LeftButton, me->buttonDownPos(Qt::LeftButton));-
261 me2->setButtonDownPos(Qt::RightButton, me->buttonDownPos(Qt::RightButton));-
262 me2->setButtonDownScreenPos(Qt::LeftButton, me->buttonDownScreenPos(Qt::LeftButton));-
263 me2->setButtonDownScreenPos(Qt::RightButton, me->buttonDownScreenPos(Qt::RightButton));-
264 me2->setLastPos(me->lastPos());-
265 me2->setLastScenePos(me->lastScenePos());-
266 me2->setLastScreenPos(me->lastScreenPos());-
267 me2->setButtons(me->buttons());-
268 me2->setButton(me->button());-
269 me2->setModifiers(me->modifiers());-
270 me2->setSource(me->source());-
271 me2->setFlags(me->flags());-
272 return
never executed: return me2;
me2;
never executed: return me2;
0
273 }-
274-
275 case
never executed: case QEvent::GraphicsSceneContextMenu:
QEvent::GraphicsSceneContextMenu:
never executed: case QEvent::GraphicsSceneContextMenu:
{
0
276 QGraphicsSceneContextMenuEvent *me = static_cast<QGraphicsSceneContextMenuEvent*>(e);-
277 QGraphicsSceneContextMenuEvent *me2 = new QGraphicsSceneContextMenuEvent(me->type());-
278 me2->setWidget(me->widget());-
279 me2->setPos(me->pos());-
280 me2->setScenePos(me->scenePos());-
281 me2->setScreenPos(me->screenPos());-
282 me2->setModifiers(me->modifiers());-
283 me2->setReason(me->reason());-
284 return
never executed: return me2;
me2;
never executed: return me2;
0
285 }-
286-
287 case
never executed: case QEvent::GraphicsSceneHoverEnter:
QEvent::GraphicsSceneHoverEnter:
never executed: case QEvent::GraphicsSceneHoverEnter:
0
288 case
never executed: case QEvent::GraphicsSceneHoverMove:
QEvent::GraphicsSceneHoverMove:
never executed: case QEvent::GraphicsSceneHoverMove:
0
289 case
never executed: case QEvent::GraphicsSceneHoverLeave:
QEvent::GraphicsSceneHoverLeave:
never executed: case QEvent::GraphicsSceneHoverLeave:
{
0
290 QGraphicsSceneHoverEvent *he = static_cast<QGraphicsSceneHoverEvent*>(e);-
291 QGraphicsSceneHoverEvent *he2 = new QGraphicsSceneHoverEvent(he->type());-
292 he2->setPos(he->pos());-
293 he2->setScenePos(he->scenePos());-
294 he2->setScreenPos(he->screenPos());-
295 he2->setLastPos(he->lastPos());-
296 he2->setLastScenePos(he->lastScenePos());-
297 he2->setLastScreenPos(he->lastScreenPos());-
298 he2->setModifiers(he->modifiers());-
299 return
never executed: return he2;
he2;
never executed: return he2;
0
300 }-
301 case
never executed: case QEvent::GraphicsSceneHelp:
QEvent::GraphicsSceneHelp:
never executed: case QEvent::GraphicsSceneHelp:
0
302 return
never executed: return new QHelpEvent(*static_cast<QHelpEvent*>(e));
new QHelpEvent(*static_cast<QHelpEvent*>(e));
never executed: return new QHelpEvent(*static_cast<QHelpEvent*>(e));
0
303 case
never executed: case QEvent::GraphicsSceneDragEnter:
QEvent::GraphicsSceneDragEnter:
never executed: case QEvent::GraphicsSceneDragEnter:
0
304 case
never executed: case QEvent::GraphicsSceneDragMove:
QEvent::GraphicsSceneDragMove:
never executed: case QEvent::GraphicsSceneDragMove:
0
305 case
never executed: case QEvent::GraphicsSceneDragLeave:
QEvent::GraphicsSceneDragLeave:
never executed: case QEvent::GraphicsSceneDragLeave:
0
306 case
never executed: case QEvent::GraphicsSceneDrop:
QEvent::GraphicsSceneDrop:
never executed: case QEvent::GraphicsSceneDrop:
{
0
307 QGraphicsSceneDragDropEvent *dde = static_cast<QGraphicsSceneDragDropEvent*>(e);-
308 QGraphicsSceneDragDropEvent *dde2 = new QGraphicsSceneDragDropEvent(dde->type());-
309 dde2->setPos(dde->pos());-
310 dde2->setScenePos(dde->scenePos());-
311 dde2->setScreenPos(dde->screenPos());-
312 dde2->setButtons(dde->buttons());-
313 dde2->setModifiers(dde->modifiers());-
314 return
never executed: return dde2;
dde2;
never executed: return dde2;
0
315 }-
316 case
never executed: case QEvent::GraphicsSceneWheel:
QEvent::GraphicsSceneWheel:
never executed: case QEvent::GraphicsSceneWheel:
{
0
317 QGraphicsSceneWheelEvent *we = static_cast<QGraphicsSceneWheelEvent*>(e);-
318 QGraphicsSceneWheelEvent *we2 = new QGraphicsSceneWheelEvent(we->type());-
319 we2->setPos(we->pos());-
320 we2->setScenePos(we->scenePos());-
321 we2->setScreenPos(we->screenPos());-
322 we2->setButtons(we->buttons());-
323 we2->setModifiers(we->modifiers());-
324 we2->setOrientation(we->orientation());-
325 we2->setDelta(we->delta());-
326 return
never executed: return we2;
we2;
never executed: return we2;
0
327 }-
328-
329 case
never executed: case QEvent::KeyboardLayoutChange:
QEvent::KeyboardLayoutChange:
never executed: case QEvent::KeyboardLayoutChange:
0
330 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
331-
332 case
never executed: case QEvent::DynamicPropertyChange:
QEvent::DynamicPropertyChange:
never executed: case QEvent::DynamicPropertyChange:
0
333 return
never executed: return new QDynamicPropertyChangeEvent(*static_cast<QDynamicPropertyChangeEvent*>(e));
new QDynamicPropertyChangeEvent(*static_cast<QDynamicPropertyChangeEvent*>(e));
never executed: return new QDynamicPropertyChangeEvent(*static_cast<QDynamicPropertyChangeEvent*>(e));
0
334-
335-
336 case
never executed: case QEvent::TabletEnterProximity:
QEvent::TabletEnterProximity:
never executed: case QEvent::TabletEnterProximity:
0
337 case
never executed: case QEvent::TabletLeaveProximity:
QEvent::TabletLeaveProximity:
never executed: case QEvent::TabletLeaveProximity:
0
338 return
never executed: return new QTabletEvent(*static_cast<QTabletEvent*>(e));
new QTabletEvent(*static_cast<QTabletEvent*>(e));
never executed: return new QTabletEvent(*static_cast<QTabletEvent*>(e));
0
339-
340-
341 case
never executed: case QEvent::NonClientAreaMouseMove:
QEvent::NonClientAreaMouseMove:
never executed: case QEvent::NonClientAreaMouseMove:
0
342 case
never executed: case QEvent::NonClientAreaMouseButtonPress:
QEvent::NonClientAreaMouseButtonPress:
never executed: case QEvent::NonClientAreaMouseButtonPress:
0
343 case
never executed: case QEvent::NonClientAreaMouseButtonRelease:
QEvent::NonClientAreaMouseButtonRelease:
never executed: case QEvent::NonClientAreaMouseButtonRelease:
0
344 case
never executed: case QEvent::NonClientAreaMouseButtonDblClick:
QEvent::NonClientAreaMouseButtonDblClick:
never executed: case QEvent::NonClientAreaMouseButtonDblClick:
0
345 return
never executed: return new QMouseEvent(*static_cast<QMouseEvent*>(e));
new QMouseEvent(*static_cast<QMouseEvent*>(e));
never executed: return new QMouseEvent(*static_cast<QMouseEvent*>(e));
0
346-
347 case
never executed: case QEvent::MacSizeChange:
QEvent::MacSizeChange:
never executed: case QEvent::MacSizeChange:
0
348 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
349-
350 case
never executed: case QEvent::ContentsRectChange:
QEvent::ContentsRectChange:
never executed: case QEvent::ContentsRectChange:
0
351 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
352-
353 case
never executed: case QEvent::MacGLWindowChange:
QEvent::MacGLWindowChange:
never executed: case QEvent::MacGLWindowChange:
0
354 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
355-
356 case
never executed: case QEvent::FutureCallOut:
QEvent::FutureCallOut:
never executed: case QEvent::FutureCallOut:
0
357 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,400) : qt_noop());-
358 break;
never executed: break;
0
359-
360 case
never executed: case QEvent::GraphicsSceneResize:
QEvent::GraphicsSceneResize:
never executed: case QEvent::GraphicsSceneResize:
{
0
361 QGraphicsSceneResizeEvent *re = static_cast<QGraphicsSceneResizeEvent*>(e);-
362 QGraphicsSceneResizeEvent *re2 = new QGraphicsSceneResizeEvent();-
363 re2->setOldSize(re->oldSize());-
364 re2->setNewSize(re->newSize());-
365 return
never executed: return re2;
re2;
never executed: return re2;
0
366 }-
367 case
never executed: case QEvent::GraphicsSceneMove:
QEvent::GraphicsSceneMove:
never executed: case QEvent::GraphicsSceneMove:
{
0
368 QGraphicsSceneMoveEvent *me = static_cast<QGraphicsSceneMoveEvent*>(e);-
369 QGraphicsSceneMoveEvent *me2 = new QGraphicsSceneMoveEvent();-
370 me2->setWidget(me->widget());-
371 me2->setNewPos(me->newPos());-
372 me2->setOldPos(me->oldPos());-
373 return
never executed: return me2;
me2;
never executed: return me2;
0
374 }-
375-
376 case
never executed: case QEvent::CursorChange:
QEvent::CursorChange:
never executed: case QEvent::CursorChange:
0
377 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
378 case
never executed: case QEvent::ToolTipChange:
QEvent::ToolTipChange:
never executed: case QEvent::ToolTipChange:
0
379 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
380-
381 case
never executed: case QEvent::NetworkReplyUpdated:
QEvent::NetworkReplyUpdated:
never executed: case QEvent::NetworkReplyUpdated:
0
382 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,425) : qt_noop());-
383 break;
never executed: break;
0
384-
385 case
never executed: case QEvent::GrabMouse:
QEvent::GrabMouse:
never executed: case QEvent::GrabMouse:
0
386 case
never executed: case QEvent::UngrabMouse:
QEvent::UngrabMouse:
never executed: case QEvent::UngrabMouse:
0
387 case
never executed: case QEvent::GrabKeyboard:
QEvent::GrabKeyboard:
never executed: case QEvent::GrabKeyboard:
0
388 case
never executed: case QEvent::UngrabKeyboard:
QEvent::UngrabKeyboard:
never executed: case QEvent::UngrabKeyboard:
0
389 return
never executed: return new QEvent(*e);
new QEvent(*e);
never executed: return new QEvent(*e);
0
390-
391 case
never executed: case QEvent::TouchBegin:
QEvent::TouchBegin:
never executed: case QEvent::TouchBegin:
0
392 case
never executed: case QEvent::TouchUpdate:
QEvent::TouchUpdate:
never executed: case QEvent::TouchUpdate:
0
393 case
never executed: case QEvent::TouchEnd:
QEvent::TouchEnd:
never executed: case QEvent::TouchEnd:
0
394 return
never executed: return new QTouchEvent(*static_cast<QTouchEvent*>(e));
new QTouchEvent(*static_cast<QTouchEvent*>(e));
never executed: return new QTouchEvent(*static_cast<QTouchEvent*>(e));
0
395-
396-
397 case
never executed: case QEvent::NativeGesture:
QEvent::NativeGesture:
never executed: case QEvent::NativeGesture:
0
398 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,441) : qt_noop());-
399 break;
never executed: break;
0
400-
401-
402 case
never executed: case QEvent::User:
QEvent::User:
never executed: case QEvent::User:
0
403 case
never executed: case QEvent::MaxUser:
QEvent::MaxUser:
never executed: case QEvent::MaxUser:
0
404 ((!(false)) ? qt_assert_x("cloneEvent()", "not implemented",__FILE__,447) : qt_noop());-
405 break;
never executed: break;
0
406 default
never executed: default:
:
never executed: default:
0
407 ;-
408 }
never executed: end of block
0
409 return
never executed: return qcoreStateMachineHandler()->cloneEvent(e);
qcoreStateMachineHandler()->cloneEvent(e);
never executed: return qcoreStateMachineHandler()->cloneEvent(e);
0
410}-
411-
412const QStateMachinePrivate::Handler qt_gui_statemachine_handler = {-
413 cloneEvent-
414};-
415-
416static const QStateMachinePrivate::Handler *qt_guistatemachine_last_handler = 0;-
417void qRegisterGuiStateMachine()-
418{-
419 qt_guistatemachine_last_handler = QStateMachinePrivate::handler;-
420 QStateMachinePrivate::handler = &qt_gui_statemachine_handler;-
421}
never executed: end of block
0
422namespace { static const struct qRegisterGuiStateMachine_ctor_class_ { inline qRegisterGuiStateMachine_ctor_class_() { qRegisterGuiStateMachine(); }
never executed: end of block
} qRegisterGuiStateMachine_ctor_instance_; }
0
423-
424void qUnregisterGuiStateMachine()-
425{-
426 QStateMachinePrivate::handler = qt_guistatemachine_last_handler;-
427}
never executed: end of block
0
428namespace { static const struct qUnregisterGuiStateMachine_dtor_class_ { inline qUnregisterGuiStateMachine_dtor_class_() { } inline ~ qUnregisterGuiStateMachine_dtor_class_() { qUnregisterGuiStateMachine(); }
never executed: end of block
} qUnregisterGuiStateMachine_dtor_instance_; }
0
429-
430-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9