Showing the changes to libraries/script-engine/src/UsersScriptingInterface.h (1 of 4 files). Show all
Unified · Split
| @@ -20,9 +20,19 @@ class UsersScriptingInterface : public QObject, public Dependency { · 19 unmodified lines | ||
| 20 | 20 | Q_OBJECT |
| 21 | 21 | SINGLETON_DEPENDENCY |
| 22 | 22 | |
| 23 | + Q_PROPERTY(bool canKick READ getCanKick) | |
| 24 | + | |
| 25 | +public: | |
| 26 | + UsersScriptingInterface(); | |
| 27 | + | |
| 23 | 28 | public slots: |
| 24 | 29 | void ignore(const QUuid& nodeID); |
| 25 | 30 | void kick(const QUuid& nodeID); |
| 31 | + | |
| 32 | + bool getCanKick(); | |
| 33 | + | |
| 34 | +signals: | |
| 35 | + void canKickChanged(bool canKick); | |
| 26 | 36 | }; |
| 27 | 37 | |
| 28 | 38 | |