diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-25 11:58:04 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-25 11:58:04 +0200 |
commit | e9b45087800c60f52cb2d48b3147a1f7c0ebf498 (patch) | |
tree | 35f39e3be2f023414e4bf321c51963ebac18336a /framework/src/frameworkplugin.cpp | |
parent | 100f409967cd5c17567e401826a0773c7e848ff3 (diff) | |
download | kube-e9b45087800c60f52cb2d48b3147a1f7c0ebf498.tar.gz kube-e9b45087800c60f52cb2d48b3147a1f7c0ebf498.zip |
Function name cleanup
Diffstat (limited to 'framework/src/frameworkplugin.cpp')
-rw-r--r-- | framework/src/frameworkplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/src/frameworkplugin.cpp b/framework/src/frameworkplugin.cpp index 2064ab1a..1c881e24 100644 --- a/framework/src/frameworkplugin.cpp +++ b/framework/src/frameworkplugin.cpp | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #include <QtQml> | 37 | #include <QtQml> |
38 | 38 | ||
39 | static QObject *example_qobject_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine) | 39 | static QObject *fabric_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine) |
40 | { | 40 | { |
41 | Q_UNUSED(engine) | 41 | Q_UNUSED(engine) |
42 | Q_UNUSED(scriptEngine) | 42 | Q_UNUSED(scriptEngine) |
@@ -61,5 +61,5 @@ void FrameworkPlugin::registerTypes (const char *uri) | |||
61 | qmlRegisterType<Kube::Settings>(uri, 1, 0, "Settings"); | 61 | qmlRegisterType<Kube::Settings>(uri, 1, 0, "Settings"); |
62 | 62 | ||
63 | qmlRegisterType<Kube::Fabric::Listener>(uri, 1, 0, "Listener"); | 63 | qmlRegisterType<Kube::Fabric::Listener>(uri, 1, 0, "Listener"); |
64 | qmlRegisterSingletonType<Kube::Fabric::Fabric>(uri, 1, 0, "Fabric", example_qobject_singletontype_provider); | 64 | qmlRegisterSingletonType<Kube::Fabric::Fabric>(uri, 1, 0, "Fabric", fabric_singletontype_provider); |
65 | } | 65 | } |