Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 5 files). Show all
Unified · Split
| @@ -27,14 +27,12 @@ class WindowScriptingInterface : public QObject, public Dependency { · 26 unmodified lines | |||
| 27 | Q_PROPERTY(int innerHeight READ getInnerHeight) | 27 | Q_PROPERTY(int innerHeight READ getInnerHeight) |
| 28 | Q_PROPERTY(int x READ getX) | 28 | Q_PROPERTY(int x READ getX) |
| 29 | Q_PROPERTY(int y READ getY) | 29 | Q_PROPERTY(int y READ getY) |
| 30 | Q_PROPERTY(bool cursorVisible READ isCursorVisible WRITE setCursorVisible) | ||
| 31 | public: | 30 | public: |
| 32 | WindowScriptingInterface(); | 31 | WindowScriptingInterface(); |
| 33 | int getInnerWidth(); | 32 | int getInnerWidth(); |
| 34 | int getInnerHeight(); | 33 | int getInnerHeight(); |
| 35 | int getX(); | 34 | int getX(); |
| 36 | int getY(); | 35 | int getY(); |
| 37 | bool isCursorVisible() const; | ||
| 38 | 36 | ||
| 39 | public slots: | 37 | public slots: |
| 40 | QScriptValue getCursorPositionX(); | 38 | QScriptValue getCursorPositionX(); |