aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/plugin.cpp')
-rw-r--r--plugin/plugin.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugin/plugin.cpp b/plugin/plugin.cpp
new file mode 100644
index 0000000..26d156a
--- /dev/null
+++ b/plugin/plugin.cpp
@@ -0,0 +1,13 @@
+#include "plugin.h"
+#include "cursornavigation.h"
+#include "qqml.h"
+
+CursorNavigationPlugin::CursorNavigationPlugin()
+{
+}
+
+void CursorNavigationPlugin::registerTypes(const char *uri)
+{
+ qmlRegisterUncreatableType<CursorNavigation>(uri, 1, 0, "CursorNavigation",
+ QStringLiteral("CursorNavigation is not creatable, use the attached properties."));
+}