kjsembed
Go to the documentation of this file.
23 #ifndef KJSEMBED_JSEVENTUTILS_H
24 #define KJSEMBED_JSEVENTUTILS_H
26 #include <QtCore/QEvent>
27 #include <QtGui/QKeyEvent>
29 #include <kjs/object.h>
37 namespace JSEventUtils
39 KJS::JSObject *
event( KJS::ExecState *exec,
const QEvent *ev );
40 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QEvent *ev);
41 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QInputEvent *ev);
42 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QMouseEvent *ev);
43 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QPaintEvent *ev);
44 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QKeyEvent *ev);
45 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QInputMethodEvent *ev);
46 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QResizeEvent *ev);
47 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QCloseEvent *ev);
48 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QMoveEvent *ev);
49 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QWheelEvent *ev);
50 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QDropEvent *ev);
51 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QDragMoveEvent *ev);
52 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QTimerEvent *ev);
53 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QContextMenuEvent *ev);
54 KJS::JSObject *
convertEvent( KJS::ExecState *exec,
const QFocusEvent *ev);
59 #endif // KJSEMBED_JSEVENTUTILS_H
KJS::JSObject * event(KJS::ExecState *exec, const QEvent *ev)
KJS::JSObject * convertEvent(KJS::ExecState *exec, const QEvent *ev)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:53 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.