aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/qmltypesregister.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-04-02 12:13:56 +0200
committerRenaud G <renaud@rolisteam.org>2018-04-02 12:14:12 +0200
commit5037bbc102fec39fbdef810427c31cb0a1722709 (patch)
tree24f888f5e094dab274d0d7ecdaf0844da4c30d33 /qmltypesregister.cpp
parente31c29a1696a476774b63d17841daa8016d6e8c7 (diff)
downloadOneRoll-5037bbc102fec39fbdef810427c31cb0a1722709.tar.gz
OneRoll-5037bbc102fec39fbdef810427c31cb0a1722709.zip
add Rolisteam qml module
Diffstat (limited to 'qmltypesregister.cpp')
-rw-r--r--qmltypesregister.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qmltypesregister.cpp b/qmltypesregister.cpp
index 562926b..f256eb2 100644
--- a/qmltypesregister.cpp
+++ b/qmltypesregister.cpp
@@ -22,9 +22,11 @@
#include <QQmlEngine>
#include "diceroller.h"
+#include "field.h"
void registerQmlTypes()
{
- qmlRegisterType<DiceRoller>("Dice", 1, 0, "DiceRoller");
+ qmlRegisterType<DiceRoller>("Rolisteam", 1, 0, "DiceRoller");
+ qmlRegisterType<Field>("Rolisteam", 1, 0, "Field");
}