| 1 | #include "GettingStartedScope.hxx" |
| 2 | |
| 3 | #include "GettingStartedTipsController.hxx" |
| 4 | |
| 5 | |
| 6 | GettingStartedScope::GettingStartedScope(QObject *parent) : QObject(parent) |
| 7 | { |
| 8 | |
| 9 | } |
| 10 | |
| 11 | GettingStartedScopeAttached *GettingStartedScope::qmlAttachedProperties(QObject *object) |
| 12 | { |
| 13 | auto c = new GettingStartedScopeAttached(object); |
| 14 | return c; |
| 15 | } |
| 16 | |
| 17 | GettingStartedScopeAttached::GettingStartedScopeAttached(QObject *parent) : QObject(parent) |
| 18 | { |
| 19 | |
| 20 | } |
| 21 | |
| 22 | void GettingStartedScopeAttached::setController(GettingStartedTipsController *controller) |
| 23 | { |
| 24 | if (_controller == controller) |
| 25 | return; |
| 26 | |
| 27 | _controller = controller; |
| 28 | emit controllerChanged(); |
| 29 | } |