aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/qmltypesregister.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmltypesregister.cpp')
-rw-r--r--qmltypesregister.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/qmltypesregister.cpp b/qmltypesregister.cpp
new file mode 100644
index 0000000..adc13de
--- /dev/null
+++ b/qmltypesregister.cpp
@@ -0,0 +1,14 @@
+
+#include "qmltypesregister.h"
+
+#include "diceroller.h"
+
+
+void registerQmlTypes()
+{
+
+ qmlRegisterType<DiceRoller>("Dice", 1, 0, "DiceRoller");
+
+
+
+}