Qt 4.8
Functions | Variables
qguistatemachine.cpp File Reference
#include <QtCore/qstatemachine.h>
#include <private/qstatemachine_p.h>
#include <QtGui/qevent.h>
#include <QtGui/qgraphicssceneevent.h>

Go to the source code of this file.

Functions

static QEventcloneEvent (QEvent *e)
 
Q_CORE_EXPORT const QStateMachinePrivate::HandlerqcoreStateMachineHandler ()
 
int qRegisterGuiStateMachine ()
 
int qUnregisterGuiStateMachine ()
 

Variables

const QStateMachinePrivate::Handler qt_gui_statemachine_handler
 
static const QStateMachinePrivate::Handlerqt_guistatemachine_last_handler = 0
 

Function Documentation

◆ cloneEvent()

static QEvent* cloneEvent ( QEvent e)
static

Definition at line 54 of file qguistatemachine.cpp.

55 {
56  switch (e->type()) {
60  case QEvent::MouseMove:
61  return new QMouseEvent(*static_cast<QMouseEvent*>(e));
62  case QEvent::KeyPress:
63  case QEvent::KeyRelease:
64  return new QKeyEvent(*static_cast<QKeyEvent*>(e));
65  case QEvent::FocusIn:
66  case QEvent::FocusOut:
67  return new QFocusEvent(*static_cast<QFocusEvent*>(e));
68  case QEvent::Enter:
69  return new QEvent(*e);
70  case QEvent::Leave:
71  return new QEvent(*e);
72  break;
73  case QEvent::Paint:
74  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
75  break;
76  case QEvent::Move:
77  return new QMoveEvent(*static_cast<QMoveEvent*>(e));
78  case QEvent::Resize:
79  return new QResizeEvent(*static_cast<QResizeEvent*>(e));
80  case QEvent::Create:
81  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
82  break;
83  case QEvent::Destroy:
84  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
85  break;
86  case QEvent::Show:
87  return new QShowEvent(*static_cast<QShowEvent*>(e));
88  case QEvent::Hide:
89  return new QHideEvent(*static_cast<QHideEvent*>(e));
90  case QEvent::Close:
91  return new QCloseEvent(*static_cast<QCloseEvent*>(e));
92  case QEvent::Quit:
93  return new QEvent(*e);
95  return new QEvent(*e);
97  return new QEvent(*e);
99  return new QEvent(*e);
100 
103  return new QEvent(*e);
104 
106  return new QEvent(*e);
108  return new QEvent(*e);
109 #ifndef QT_NO_WHEELEVENT
110  case QEvent::Wheel:
111  return new QWheelEvent(*static_cast<QWheelEvent*>(e));
112 #endif //QT_NO_WHEELEVENT
114  return new QEvent(*e);
116  return new QEvent(*e);
118  return new QEvent(*e);
120  return new QEvent(*e);
122  return new QEvent(*e);
124  return new QEvent(*e);
126  return new QEvent(*e);
127  case QEvent::Clipboard:
128  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
129  break;
130  case QEvent::Speech:
131  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
132  break;
133  case QEvent::MetaCall:
134  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
135  break;
136  case QEvent::SockAct:
137  return new QEvent(*e);
138  case QEvent::WinEventAct:
139  return new QEvent(*e);
141  return new QEvent(*e);
142 #ifndef QT_NO_DRAGANDDROP
143  case QEvent::DragEnter:
144  return new QDragEnterEvent(*static_cast<QDragEnterEvent*>(e));
145  case QEvent::DragMove:
146  return new QDragMoveEvent(*static_cast<QDragMoveEvent*>(e));
147  case QEvent::DragLeave:
148  return new QDragLeaveEvent(*static_cast<QDragLeaveEvent*>(e));
149  case QEvent::Drop:
150  return new QDropEvent(*static_cast<QDragMoveEvent*>(e));
152  return new QDragResponseEvent(*static_cast<QDragResponseEvent*>(e));
153 #endif
154  case QEvent::ChildAdded:
155  return new QChildEvent(*static_cast<QChildEvent*>(e));
157  return new QChildEvent(*static_cast<QChildEvent*>(e));
158 #ifdef QT3_SUPPORT
159  case QEvent::ChildInsertedRequest:
160  return new QEvent(*e);
161  case QEvent::ChildInserted:
162  return new QChildEvent(*static_cast<QChildEvent*>(e));
163  case QEvent::LayoutHint:
164  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
165  break;
166 #endif
168  return new QChildEvent(*static_cast<QChildEvent*>(e));
170  return new QEvent(*e);
172  return new QEvent(*e);
173  case QEvent::Polish:
174  return new QEvent(*e);
176  return new QEvent(*e);
178  return new QEvent(*e);
179  case QEvent::UpdateLater:
180  return new QEvent(*e);
181 
183  return new QEvent(*e);
185  return new QEvent(*e);
187  return new QEvent(*e);
188 
189 #ifndef QT_NO_CONTEXTMENU
190  case QEvent::ContextMenu:
191  return new QContextMenuEvent(*static_cast<QContextMenuEvent*>(e));
192 #endif
193  case QEvent::InputMethod:
194  return new QInputMethodEvent(*static_cast<QInputMethodEvent*>(e));
196  return new QEvent(*e);
197 #ifndef QT_NO_TABLETEVENT
198  case QEvent::TabletMove:
199  return new QTabletEvent(*static_cast<QTabletEvent*>(e));
200 #endif //QT_NO_TABLETEVENT
202  return new QEvent(*e);
204  return new QEvent(*e);
206  return new QEvent(*e);
207  case QEvent::Style:
208  return new QEvent(*e);
209 #ifndef QT_NO_TABLETEVENT
210  case QEvent::TabletPress:
211  return new QTabletEvent(*static_cast<QTabletEvent*>(e));
213  return new QTabletEvent(*static_cast<QTabletEvent*>(e));
214 #endif //QT_NO_TABLETEVENT
215  case QEvent::OkRequest:
216  return new QEvent(*e);
217  case QEvent::HelpRequest:
218  return new QEvent(*e);
219 
220  case QEvent::IconDrag:
221  return new QIconDragEvent(*static_cast<QIconDragEvent*>(e));
222 
223  case QEvent::FontChange:
224  return new QEvent(*e);
226  return new QEvent(*e);
228  return new QEvent(*e);
229  case QEvent::StyleChange:
230  return new QEvent(*e);
232  return new QEvent(*e);
234  return new QEvent(*e);
236  return new QEvent(*e);
237 
239  return new QEvent(*e);
241  return new QEvent(*e);
243  return new QWindowStateChangeEvent(*static_cast<QWindowStateChangeEvent*>(e));
244 
245  case QEvent::ToolTip:
246  return new QHelpEvent(*static_cast<QHelpEvent*>(e));
247  case QEvent::WhatsThis:
248  return new QHelpEvent(*static_cast<QHelpEvent*>(e));
249 #ifndef QT_NO_STATUSTIP
250  case QEvent::StatusTip:
251  return new QStatusTipEvent(*static_cast<QStatusTipEvent*>(e));
252 #endif //QT_NO_STATUSTIP
253 #ifndef QT_NO_ACTION
255  case QEvent::ActionAdded:
257  return new QActionEvent(*static_cast<QActionEvent*>(e));
258 #endif
259  case QEvent::FileOpen:
260  return new QFileOpenEvent(*static_cast<QFileOpenEvent*>(e));
261 
262 #ifndef QT_NO_SHORTCUT
263  case QEvent::Shortcut:
264  return new QShortcutEvent(*static_cast<QShortcutEvent*>(e));
265 #endif //QT_NO_SHORTCUT
267  return new QKeyEvent(*static_cast<QKeyEvent*>(e));
268 
269 #ifdef QT3_SUPPORT
270  case QEvent::Accel:
271  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
272  break;
273  case QEvent::AccelAvailable:
274  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
275  break;
276 #endif
277 
278 #ifndef QT_NO_WHATSTHIS
280  return new QWhatsThisClickedEvent(*static_cast<QWhatsThisClickedEvent*>(e));
281 #endif //QT_NO_WHATSTHIS
282 
283 #ifndef QT_NO_TOOLBAR
285  return new QToolBarChangeEvent(*static_cast<QToolBarChangeEvent*>(e));
286 #endif //QT_NO_TOOLBAR
287 
289  return new QEvent(*e);
291  return new QEvent(*e);
292 
294  return new QHelpEvent(*static_cast<QHelpEvent*>(e));
296  return new QEvent(*e);
298  return new QEvent(*e);
299 
301  return new QEvent(*e);
302 
303  case QEvent::HoverEnter:
304  case QEvent::HoverLeave:
305  case QEvent::HoverMove:
306  return new QHoverEvent(*static_cast<QHoverEvent*>(e));
307 
309  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
310  break;
312  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
313  break;
314 
315 #ifdef QT_KEYPAD_NAVIGATION
316  case QEvent::EnterEditFocus:
317  return new QEvent(*e);
318  case QEvent::LeaveEditFocus:
319  return new QEvent(*e);
320 #endif
322  return new QEvent(*e);
323 
324 #ifdef QT3_SUPPORT
326  return new QMenubarUpdatedEvent(*static_cast<QMenubarUpdatedEvent*>(e));
327 #endif
328 
330  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
331  break;
332 #ifndef QT_NO_GRAPHICSVIEW
337  QGraphicsSceneMouseEvent *me = static_cast<QGraphicsSceneMouseEvent*>(e);
339  me2->setWidget(me->widget());
340  me2->setPos(me->pos());
341  me2->setScenePos(me->scenePos());
342  me2->setScreenPos(me->screenPos());
343 // ### for all buttons
348  me2->setLastPos(me->lastPos());
349  me2->setLastScenePos(me->lastScenePos());
350  me2->setLastScreenPos(me->lastScreenPos());
351  me2->setButtons(me->buttons());
352  me2->setButton(me->button());
353  me2->setModifiers(me->modifiers());
354  return me2;
355  }
356 
360  me2->setWidget(me->widget());
361  me2->setPos(me->pos());
362  me2->setScenePos(me->scenePos());
363  me2->setScreenPos(me->screenPos());
364  me2->setModifiers(me->modifiers());
365  me2->setReason(me->reason());
366  return me2;
367  }
368 
372  QGraphicsSceneHoverEvent *he = static_cast<QGraphicsSceneHoverEvent*>(e);
374  he2->setPos(he->pos());
375  he2->setScenePos(he->scenePos());
376  he2->setScreenPos(he->screenPos());
377  he2->setLastPos(he->lastPos());
378  he2->setLastScenePos(he->lastScenePos());
379  he2->setLastScreenPos(he->lastScreenPos());
380  he2->setModifiers(he->modifiers());
381  return he2;
382  }
384  return new QHelpEvent(*static_cast<QHelpEvent*>(e));
391  dde2->setPos(dde->pos());
392  dde2->setScenePos(dde->scenePos());
393  dde2->setScreenPos(dde->screenPos());
394  dde2->setButtons(dde->buttons());
395  dde2->setModifiers(dde->modifiers());
396  return dde2;
397  }
399  QGraphicsSceneWheelEvent *we = static_cast<QGraphicsSceneWheelEvent*>(e);
401  we2->setPos(we->pos());
402  we2->setScenePos(we->scenePos());
403  we2->setScreenPos(we->screenPos());
404  we2->setButtons(we->buttons());
405  we2->setModifiers(we->modifiers());
406  we2->setOrientation(we->orientation());
407  we2->setDelta(we->delta());
408  return we2;
409  }
410 #endif
412  return new QEvent(*e);
413 
415  return new QDynamicPropertyChangeEvent(*static_cast<QDynamicPropertyChangeEvent*>(e));
416 
417 #ifndef QT_NO_TABLETEVENT
420  return new QTabletEvent(*static_cast<QTabletEvent*>(e));
421 #endif //QT_NO_TABLETEVENT
422 
427  return new QMouseEvent(*static_cast<QMouseEvent*>(e));
428 
430  return new QEvent(*e);
431 
433  return new QEvent(*e);
434 
436  return new QEvent(*e);
437 
439  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
440  break;
441 #ifndef QT_NO_GRAPHICSVIEW
445  re2->setOldSize(re->oldSize());
446  re2->setNewSize(re->newSize());
447  return re2;
448  }
450  QGraphicsSceneMoveEvent *me = static_cast<QGraphicsSceneMoveEvent*>(e);
452  me2->setWidget(me->widget());
453  me2->setNewPos(me->newPos());
454  me2->setOldPos(me->oldPos());
455  return me2;
456  }
457 #endif
459  return new QEvent(*e);
461  return new QEvent(*e);
462 
464  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
465  break;
466 
467  case QEvent::GrabMouse:
468  case QEvent::UngrabMouse:
471  return new QEvent(*e);
472 
473  case QEvent::TouchBegin:
474  case QEvent::TouchUpdate:
475  case QEvent::TouchEnd:
476  return new QTouchEvent(*static_cast<QTouchEvent*>(e));
477 
478 #ifndef QT_NO_GESTURES
480  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
481  break;
482 #endif
483 
486  return new QEvent(*e);
487 
489  return new QEvent(*e);
490 
491  case QEvent::User:
492  case QEvent::MaxUser:
493  Q_ASSERT_X(false, "cloneEvent()", "not implemented");
494  break;
495  default:
496  ;
497  }
499 }
void setModifiers(Qt::KeyboardModifiers modifiers)
void setScenePos(const QPointF &pos)
Sets the scene position of the mouse to pos.
The QKeyEvent class describes a key event.
Definition: qevent.h:224
QPoint screenPos() const
Returns the mouse cursor position in screen coordinates.
void setNewSize(const QSizeF &size)
void setModifiers(Qt::KeyboardModifiers modifiers)
void setLastPos(const QPointF &pos)
QSizeF oldSize() const
Returns the old size (i.e., the size immediately before the widget was resized).
The QWheelEvent class contains parameters that describe a wheel event.
Definition: qevent.h:139
The QContextMenuEvent class contains parameters that describe a context menu event.
Definition: qevent.h:396
void setScreenPos(const QPoint &pos)
QPoint screenPos() const
Returns the position of the mouse cursor in screen coordinates at the moment the hover event was sent...
void setScenePos(const QPointF &pos)
The QHoverEvent class contains parameters that describe a mouse event.
Definition: qevent.h:125
The QGraphicsSceneMouseEvent class provides mouse events in the graphics view framework.
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifiers in use when the context menu was requested.
The QShortcutEvent class provides an event which is generated when the user presses a key combination...
Definition: qevent.h:675
Qt::MouseButton button() const
Returns the mouse button (if any) that caused the event.
Qt::MouseButtons buttons() const
Returns a Qt::MouseButtons value indicating which buttons were pressed on the mouse when this mouse e...
The QDynamicPropertyChangeEvent class contains event parameters for dynamic property change events...
Definition: qcoreevent.h:380
void setButtonDownPos(Qt::MouseButton button, const QPointF &pos)
QPointF scenePos() const
Returns the position of the mouse cursor in scene coordinates at the moment the the context menu was ...
QWidget * widget() const
Returns the widget where the event originated, or 0 if the event originates from another application...
The QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framewor...
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifiers that were pressed when the drag and drop event was created...
The QActionEvent class provides an event that is generated when a QAction is added, removed, or changed.
Definition: qevent.h:632
void setButtons(Qt::MouseButtons buttons)
void setOldSize(const QSizeF &size)
void setScenePos(const QPointF &pos)
QPointF newPos() const
Returns the new position (i.e., the current position).
void setWidget(QWidget *widget)
Sets the widget related to this event.
The QGraphicsSceneMoveEvent class provides events for widget moving in the graphics view framework...
The QDragMoveEvent class provides an event which is sent while a drag and drop action is in progress...
Definition: qevent.h:530
void setButtons(Qt::MouseButtons buttons)
QPointF pos() const
Returns the position of the cursor in item coordinates when the wheel event occurred.
QPointF lastScenePos() const
Returns the last recorded, the scene coordinates of the previous mouse or hover event received by the...
void setPos(const QPointF &pos)
Sets the position associated with the context menu to the given point in item coordinates.
QPointF lastScenePos() const
Returns the last recorded mouse cursor position in scene coordinates.
Q_CORE_EXPORT const QStateMachinePrivate::Handler * qcoreStateMachineHandler()
The QMoveEvent class contains event parameters for move events.
Definition: qevent.h:334
void setPos(const QPointF &pos)
void setModifiers(Qt::KeyboardModifiers modifiers)
Sets the keyboard modifiers associated with the context menu to the modifiers specified.
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifiers at the moment the hover event was sent.
Qt::MouseButtons buttons() const
Returns the mouse buttons that were pressed when the wheel event occurred.
void setModifiers(Qt::KeyboardModifiers modifiers)
Sets the modifiers for the current hover event to modifiers.
void setPos(const QPointF &pos)
Sets the position of the mouse to pos; this should be relative to the widget that generated the event...
The QHideEvent class provides an event which is sent after a widget is hidden.
Definition: qevent.h:388
void setOldPos(const QPointF &pos)
QPoint screenPos() const
Returns the position of the cursor in screen coordinates when the wheel event occurred.
void setPos(const QPointF &pos)
QPointF pos() const
Returns the position of the mouse cursor in item coordinates at the moment the context menu was reque...
The QResizeEvent class contains event parameters for resize events.
Definition: qevent.h:349
QPoint screenPos() const
Returns the position of the mouse relative to the screen.
QPoint screenPos() const
Returns the position of the mouse cursor in screen coordinates at the moment the the context menu was...
The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leav...
Definition: qevent.h:577
The QShowEvent class provides an event that is sent when a widget is shown.
Definition: qevent.h:380
void setLastScenePos(const QPointF &pos)
QPointF oldPos() const
Returns the old position (i.e., the position immediately before the widget was moved).
The QTabletEvent class contains parameters that describe a Tablet event.
Definition: qevent.h:179
The QMouseEvent class contains parameters that describe a mouse event.
Definition: qevent.h:85
The QChildEvent class contains event parameters for child object events.
Definition: qcoreevent.h:353
The QInputMethodEvent class provides parameters for input method events.
Definition: qevent.h:431
void setReason(Reason reason)
Sets the reason for the context menu event to reason.
QPointF lastPos() const
Returns the last recorded mouse cursor position in item coordinates.
#define Q_ASSERT_X(cond, where, what)
Definition: qglobal.h:1837
void setLastScreenPos(const QPoint &pos)
QPointF scenePos() const
Returns the position of the cursor in scene coordinates when the wheel event occurred.
int delta() const
Returns the distance that the wheel is rotated, in eighths (1/8s) of a degree.
The QDropEvent class provides an event which is sent when a drag and drop action is completed...
Definition: qevent.h:476
The QWindowStateChangeEvent class provides the window state before a window state change...
Definition: qevent.h:705
QSizeF newSize() const
Returns the new size (i.e., the current size).
void setScreenPos(const QPoint &pos)
The QGraphicsSceneDragDropEvent class provides events for drag and drop in the graphics view framewor...
QPoint lastScreenPos() const
Returns the last recorded mouse cursor position in screen coordinates.
QPointF scenePos() const
Returns the mouse cursor position in scene coordinates.
The QStatusTipEvent class provides an event that is used to show messages in a status bar...
Definition: qevent.h:606
The QDragEnterEvent class provides an event which is sent to a widget when a drag and drop action ent...
Definition: qevent.h:555
The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What&#39;s...
Definition: qevent.h:619
void setLastScenePos(const QPointF &pos)
void setModifiers(Qt::KeyboardModifiers modifiers)
Sets the keyboard modifiers that were pressed when the event was created to modifiers.
void setScreenPos(const QPoint &pos)
Sets the position associated with the hover event to the given point in screen coordinates.
void setScenePos(const QPointF &pos)
Sets the position associated with the context menu to the given point in scene coordinates.
QPointF pos() const
Returns the position of the mouse cursor in item coordinates at the moment the hover event was sent...
QPoint buttonDownScreenPos(Qt::MouseButton button) const
Returns the mouse cursor position in screen coordinates where the specified button was clicked...
void setButtons(Qt::MouseButtons buttons)
Sets the mouse buttons that were pressed when the event was created to buttons.
QPointF scenePos() const
Returns the position of the mouse in scene coordinates.
void setPos(const QPointF &pos)
Sets the position associated with the hover event to the given point in item coordinates.
The QToolBarChangeEvent class provides an event that is sent whenever a the toolbar button is clicked...
Definition: qevent.h:662
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifiers that were active when the wheel event occurred.
QPointF scenePos() const
Returns the position of the mouse cursor in scene coordinates at the moment the hover event was sent...
QPointF pos() const
Returns the mouse cursor position in item coordinates.
QPointF buttonDownPos(Qt::MouseButton button) const
Returns the mouse cursor position in item coordinates where the specified button was clicked...
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifiers in use at the time the event was sent.
The QTouchEvent class contains parameters that describe a touch event.
Definition: qevent.h:741
void setScreenPos(const QPoint &pos)
Sets the position associated with the context menu to the given point in screen coordinates.
QPoint lastScreenPos() const
Returns the last recorded mouse cursor position in screen coordinates.
The QGraphicsSceneWheelEvent class provides wheel events in the graphics view framework.
void setLastScreenPos(const QPoint &pos)
Qt::Orientation orientation() const
Returns the wheel orientation.
void setButtonDownScreenPos(Qt::MouseButton button, const QPoint &pos)
The QIconDragEvent class indicates that a main icon drag has begun.
Definition: qevent.h:372
void setButton(Qt::MouseButton button)
The QEvent class is the base class of all event classes.
Definition: qcoreevent.h:56
Type type() const
Returns the event type.
Definition: qcoreevent.h:303
void setOrientation(Qt::Orientation orientation)
void setScreenPos(const QPoint &pos)
Sets the mouse position relative to the screen to pos.
The QCloseEvent class contains parameters that describe a close event.
Definition: qevent.h:364
void setNewPos(const QPointF &pos)
The QFocusEvent class contains event parameters for widget focus events.
Definition: qevent.h:275
QPointF lastPos() const
Returns the last recorded mouse cursor position in item coordinates.
void setLastPos(const QPointF &pos)
Qt::MouseButtons buttons() const
Returns the combination of mouse buttons that were pressed at the time the event was sent...
void setScenePos(const QPointF &pos)
Sets the position associated with the hover event to the given point in scene coordinates.
QPointF pos() const
Returns the mouse position of the event relative to the view that sent the event. ...
The QGraphicsSceneHoverEvent class provides hover events in the graphics view framework.
The QFileOpenEvent class provides an event that will be sent when there is a request to open a file o...
Definition: qevent.h:644
Reason reason() const
Returns the reason for the context menu event.
The QHelpEvent class provides an event that is used to request helpful information about a particular...
Definition: qevent.h:586
The QGraphicsSceneContextMenuEvent class provides context menu events in the graphics view framework...

◆ qcoreStateMachineHandler()

Q_CORE_EXPORT const QStateMachinePrivate::Handler* qcoreStateMachineHandler ( )

Definition at line 246 of file qstatemachine.cpp.

Referenced by cloneEvent().

247 {
249 }
const QStateMachinePrivate::Handler qt_kernel_statemachine_handler

◆ qRegisterGuiStateMachine()

int qRegisterGuiStateMachine ( )

Definition at line 506 of file qguistatemachine.cpp.

Referenced by QApplication::QApplication().

507 {
510  return 1;
511 }
static const QStateMachinePrivate::Handler * qt_guistatemachine_last_handler
const QStateMachinePrivate::Handler qt_gui_statemachine_handler
static const Handler * handler

◆ qUnregisterGuiStateMachine()

int qUnregisterGuiStateMachine ( )

Definition at line 514 of file qguistatemachine.cpp.

Referenced by QApplication::QApplication(), and QApplication::~QApplication().

515 {
517  return 1;
518 }
static const QStateMachinePrivate::Handler * qt_guistatemachine_last_handler
static const Handler * handler

Variable Documentation

◆ qt_gui_statemachine_handler

const QStateMachinePrivate::Handler qt_gui_statemachine_handler
Initial value:
= {
}
static QEvent * cloneEvent(QEvent *e)

Definition at line 501 of file qguistatemachine.cpp.

Referenced by qRegisterGuiStateMachine().

◆ qt_guistatemachine_last_handler

const QStateMachinePrivate::Handler* qt_guistatemachine_last_handler = 0
static

Definition at line 505 of file qguistatemachine.cpp.

Referenced by qUnregisterGuiStateMachine().