This repository has been archived on 2024-06-03. You can view files and clone it, but cannot push or open issues or pull requests.
shared-libraries/ScStwStyling/sources/scstwstyling.cpp

13 lines
497 B
C++

#include "../headers/scstwstyling.h"
ScStwStyling::ScStwStyling(QObject *parent) : QObject(parent)
{
}
void ScStwStyling::init(QQmlApplicationEngine *engine) {
qmlRegisterUncreatableType<ScStwAppTheme>("de.itsblue.ScStw.styling", 2, 0, "ScStwAppTheme", "The ScStwAppTheme has to be managed by a ScStwAppTheme manager and is therefore not creatable");
qmlRegisterType<ScStwAppThemeManager>("de.itsblue.ScStw.styling", 2, 0, "ScStwAppThemeManager");
engine->addImportPath(":/lib");
}