14 #include "../DropAreaWithCentralFrame_p.h"
15 #include "../DropIndicatorOverlayInterface_p.h"
16 #include "../Frame_p.h"
17 #include "../TitleBar_p.h"
18 #include "../indicators/ClassicIndicators_p.h"
19 #include "DockWidgetInstantiator_p.h"
20 #include "MainWindowInstantiator_p.h"
21 #include "LayoutSaverInstantiator_p.h"
28 qmlRegisterType<DropAreaWithCentralFrame>(
"com.kdab.dockwidgets", 1, 0,
"DropAreaWithCentralFrame");
29 qmlRegisterType<MainWindowInstantiator>(
"com.kdab.dockwidgets", 1, 0,
"MainWindowLayout");
30 qmlRegisterType<DockWidgetInstantiator>(
"com.kdab.dockwidgets", 1, 0,
"DockWidget");
31 qmlRegisterType<LayoutSaverInstantiator>(
"com.kdab.dockwidgets", 1, 0,
"LayoutSaver");
33 qmlRegisterUncreatableType<TitleBar>(
"com.kdab.dockwidgets", 1, 0,
"TitleBar", QStringLiteral(
"Enum access only"));
34 qmlRegisterUncreatableType<DropIndicatorOverlayInterface>(
"com.kdab.dockwidgets", 1, 0,
"DropIndicatorOverlayInterface", QStringLiteral(
"Enum access only"));
35 qmlRegisterUncreatableMetaObject(KDDockWidgets::staticMetaObject,
"com.kdab.dockwidgets", 1, 0,
"KDDockWidgets", QStringLiteral(
"Enum access only"));
37 qRegisterMetaType<Frame *>();
38 qRegisterMetaType<DropArea *>();
39 qRegisterMetaType<DockWidgetBase *>();
40 qRegisterMetaType<ClassicIndicators *>();