summaryrefslogtreecommitdiffstats
path: root/src/intent-client-lib
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2018-12-12 15:07:54 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2018-12-18 12:52:53 +0000
commit2d9dfed7ffbbe93ba7cf90912f40a5f86ef80268 (patch)
treee00fc087ca04c5d533e2634a12db4ad05613265e /src/intent-client-lib
parent171f91fd66ced094f226f481d9765f4cf67c6019 (diff)
Bump all QtApplicationManager QML imports to 2.0
Change-Id: I98bab2070b7a35cefae46bca8a06bac4a1cf1487 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com> Reviewed-by: Ilya A, Galkin <igalkin@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
Diffstat (limited to 'src/intent-client-lib')
-rw-r--r--src/intent-client-lib/intentclient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intent-client-lib/intentclient.cpp b/src/intent-client-lib/intentclient.cpp
index 175660c2..5c425bf3 100644
--- a/src/intent-client-lib/intentclient.cpp
+++ b/src/intent-client-lib/intentclient.cpp
@@ -70,15 +70,15 @@ IntentClient *IntentClient::createInstance(IntentClientSystemInterface *systemIn
qCWarning(LogIntents) << "Failed to initialize IntentClient:" << exc.what();
return nullptr;
}
- qmlRegisterSingletonType<IntentClient>("QtApplicationManager", 1, 0, "IntentClient",
+ qmlRegisterSingletonType<IntentClient>("QtApplicationManager", 2, 0, "IntentClient",
[](QQmlEngine *, QJSEngine *) -> QObject * {
QQmlEngine::setObjectOwnership(instance(), QQmlEngine::CppOwnership);
return instance();
});
- qmlRegisterUncreatableType<IntentClientRequest>("QtApplicationManager", 1, 0, "IntentRequest",
+ qmlRegisterUncreatableType<IntentClientRequest>("QtApplicationManager", 2, 0, "IntentRequest",
qSL("Cannot create objects of type IntentRequest"));
- qmlRegisterType<IntentHandler>("QtApplicationManager.Application", 1, 0, "IntentHandler");
+ qmlRegisterType<IntentHandler>("QtApplicationManager.Application", 2, 0, "IntentHandler");
return s_instance = ic.take();
}