summaryrefslogtreecommitdiffstats
path: root/src/imports/localdevice/plugin.cpp
diff options
context:
space:
mode:
authorKimmo Ollila <kimmo.ollila@theqtcompany.com>2016-06-01 12:40:38 +0300
committerKimmo Ollila <kimmo.ollila@theqtcompany.com>2016-06-01 11:20:10 +0000
commit00102dc97b4caf192aa75dfe68daaa9d85b04650 (patch)
tree7140431cfb5f6f2dce2d84ad4d30a3a57721ccb6 /src/imports/localdevice/plugin.cpp
parent15ac9af2680d63321403f49eca03cdb192851bd3 (diff)
Replaced Device Utilities import uris to QtDeviceUtilities.x
Change-Id: I11c74cd61d3dd40a90c033406590296c05e996c6 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'src/imports/localdevice/plugin.cpp')
-rw-r--r--src/imports/localdevice/plugin.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/imports/localdevice/plugin.cpp b/src/imports/localdevice/plugin.cpp
index b69d9b4..cbf08cb 100644
--- a/src/imports/localdevice/plugin.cpp
+++ b/src/imports/localdevice/plugin.cpp
@@ -20,7 +20,7 @@
#include <QtQml>
/*!
- \qmlmodule com.theqtcompany.localdevice 1.0
+ \qmlmodule QtDeviceUtilities.LocalDeviceSettings 1.0
\title Qt Local Device QML Module
\ingroup qtee-qmlmodules
\brief A collection of the local device related utility functions, accessible from QML.
@@ -38,7 +38,7 @@
Import the module as follows:
\badcode
- import com.theqtcompany.localdevice 1.0
+ import QtDeviceUtilities.LocalDeviceSettings 1.0
\endcode
This will give you access to the singleton QML type LocalDevice.
@@ -53,7 +53,7 @@
/*!
\qmltype LocalDevice
- \inqmlmodule com.theqtcompany.localdevice
+ \inqmlmodule QtDeviceUtilities.LocalDeviceSettings
\ingroup utils-qmltypes
\brief Singleton QML type providing access to utility functions.
@@ -64,7 +64,7 @@
simply import the \c {LocalDevice} module:
\qml
- com.theqtcompany.localdevice
+ QtDeviceUtilities.LocalDeviceSettings
\endqml
@@ -109,7 +109,7 @@ public:
void registerTypes(const char *uri)
{
- Q_ASSERT(QLatin1String(uri) == "com.theqtcompany.localdevice");
+ Q_ASSERT(QLatin1String(uri) == "QtDeviceUtilities.LocalDeviceSettings");
qmlRegisterSingletonType<QLocalDevice>(uri, 1, 0, "LocalDevice", module_api_factory);
}
};