Showing the changes to libraries/script-engine/src/ScriptManagerScriptingInterface.h (1 of 9 files). Show all
Unified · Split
| @@ -49,6 +49,13 @@ · 48 unmodified lines | |||
| 49 | * @property {Script.ResourceBuckets} ExternalPaths - External resource buckets. | 49 | * @property {Script.ResourceBuckets} ExternalPaths - External resource buckets. |
| 50 | */ | 50 | */ |
| 51 | 51 | ||
| 52 | // V8TODO: this should be moved to somewhere test-related | ||
| 53 | class TestQObject : public QObject { | ||
| 54 | Q_OBJECT | ||
| 55 | public: | ||
| 56 | Q_INVOKABLE virtual void testMethod() { qDebug() << "TestQObject::testMethod"; }; | ||
| 57 | }; | ||
| 58 | |||
| 52 | class ScriptManagerScriptingInterface : public QObject { | 59 | class ScriptManagerScriptingInterface : public QObject { |
| 53 | Q_OBJECT | 60 | Q_OBJECT |
| 54 | public: | 61 | public: |
| @@ -503,6 +510,13 @@ public: · 448 unmodified lines | |||
| 503 | */ | 510 | */ |
| 504 | Q_INVOKABLE QVariantMap getMemoryUsageStatistics(); | 511 | Q_INVOKABLE QVariantMap getMemoryUsageStatistics(); |
| 505 | 512 | ||
| 513 | /**jsdoc | ||
| 514 | * Create test object for garbage collector debugging. | ||
| 515 | * @function Script.createGarbageCollectorDebuggingObject() | ||
| 516 | * @Returns Test object. | ||
| 517 | */ | ||
| 518 | Q_INVOKABLE ScriptValue createGarbageCollectorDebuggingObject(); | ||
| 519 | |||
| 506 | signals: | 520 | signals: |
| 507 | 521 | ||
| 508 | /**jsdoc | 522 | /**jsdoc |