Showing the changes to libraries/script-engine/src/EventTypes.cpp (1 of 263 files). Show all
Unified · Split
| @@ -9,6 +9,8 @@ · 8 unmodified lines | ||
| 9 | 9 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html |
| 10 | 10 | // |
| 11 | 11 | |
| 12 | +#include "EventTypes.h" | |
| 13 | + | |
| 12 | 14 | #include "KeyEvent.h" |
| 13 | 15 | #include "MouseEvent.h" |
| 14 | 16 | #include "SpatialEvent.h" |
| @@ -16,8 +18,6 @@ · 1 unmodified line | ||
| 16 | 18 | #include "TouchEvent.h" |
| 17 | 19 | #include "WheelEvent.h" |
| 18 | 20 | |
| 19 | −#include "EventTypes.h" | |
| 20 | − | |
| 21 | 21 | void registerEventTypes(QScriptEngine* engine) { |
| 22 | 22 | qScriptRegisterMetaType(engine, KeyEvent::toScriptValue, KeyEvent::fromScriptValue); |
| 23 | 23 | qScriptRegisterMetaType(engine, MouseEvent::toScriptValue, MouseEvent::fromScriptValue); |