Commit dc70ab8a authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Register skeleton resource

parent 0ecb083b
......@@ -34,6 +34,7 @@
#include "core/trainingsession.h"
#include "core/unit.h"
#include "core/resources/editablecourseresource.h"
#include "core/resources/skeletonresource.h"
#include "models/coursefiltermodel.h"
#include "models/coursemodel.h"
#include "models/languagemodel.h"
......@@ -100,6 +101,10 @@ void Application::registerQmlTypes()
"artikulate", 1, 0,
"EditableCourseResource",
QStringLiteral("EditableCourseResource objects are backend objects"));
qmlRegisterUncreatableType<SkeletonResource>(
"artikulate", 1, 0,
"SkeletonResource",
QStringLiteral("SkeletonResource objects are backend objects"));
// interfaces
qmlRegisterInterface<IResourceRepository>("IResourceRepository");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment