aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/systeminfo
diff options
context:
space:
mode:
authorBramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>2018-09-24 13:55:40 +0200
committerDaniel d'Andrada <daniel.dandrada@luxoft.com>2018-09-28 16:41:35 +0000
commit0df25ed0487a02dcdfca10a7e44a1211d4524d46 (patch)
tree71ef3f1eb6af598da3c63d2d3f97778b98ee22e4 /plugins/systeminfo
parent8d12a9d8b480d6375c935829b012f17cd22a964a (diff)
[systemui] a lot of refactoring in the system ui
- in order to make a better and clear separation between application and system ui imports, a new application folder is created to store basic components to be used by only applications. - change the import mechanism to only use the root import folder and user will need to specify whether he wants to use the application, system or shared import - add a basic NeptuneWindowItem to be the basic class of window items in the center console - add ApplicationCCWindowItem for the center console applications and ApplicationICWindowItem for the instrument cluster applications - rename primary window and secondary window to be the ApplicationCCWindow and ApplicationICWindow to align with the window item naming in the system ui - setting window property should be done in the window item itself and not from the application info Change-Id: I62cf151fec21c9ac574873c5c226021843c6e598 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
Diffstat (limited to 'plugins/systeminfo')
-rw-r--r--plugins/systeminfo/plugin.cpp2
-rw-r--r--plugins/systeminfo/qmldir2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/systeminfo/plugin.cpp b/plugins/systeminfo/plugin.cpp
index ff3de51c..60458414 100644
--- a/plugins/systeminfo/plugin.cpp
+++ b/plugins/systeminfo/plugin.cpp
@@ -40,7 +40,7 @@ class SystemInfoPlugin : public QQmlExtensionPlugin
public:
void registerTypes(const char *uri) override
{
- Q_ASSERT(QLatin1String(uri) == QLatin1String("com.pelagicore.systeminfo"));
+ Q_ASSERT(QLatin1String(uri) == QLatin1String("shared.com.pelagicore.systeminfo"));
qmlRegisterType<SystemInfo>(uri, 1, 0, "SystemInfo");
}
diff --git a/plugins/systeminfo/qmldir b/plugins/systeminfo/qmldir
index 99dd732e..2a9a2a84 100644
--- a/plugins/systeminfo/qmldir
+++ b/plugins/systeminfo/qmldir
@@ -1,2 +1,2 @@
-module com.pelagicore.systeminfo
+module shared.com.pelagicore.systeminfo
plugin systeminfoplugin