File indexing completed on 2024-07-21 04:18:48

0001 // SPDX-FileCopyrightText: 2020 Carl Schwan <carl@carlschwan.eu>
0002 //
0003 // SPDX-License-Identifier: LGPL-2.1-or-later
0004 
0005 #include <QQmlEngine>
0006 #include <QResource>
0007 
0008 #include "kquickimageeditor_plugin.h"
0009 
0010 #include "imagedocument.h"
0011 #include "imageitem.h"
0012 #include "resizehandle.h"
0013 #include "resizerectangle.h"
0014 
0015 void KQuickImageEditorPlugin::registerTypes(const char *uri)
0016 {
0017     qmlRegisterType<ResizeHandle>(uri, 1, 0, "ResizeHandle");
0018     qmlRegisterType<ResizeRectangle>(uri, 1, 0, "ResizeRectangle");
0019     qmlRegisterType<ImageItem>(uri, 1, 0, "ImageItem");
0020     qmlRegisterType<ImageDocument>(uri, 1, 0, "ImageDocument");
0021 }