KQuickImageEditor

kquickimageeditor_plugin.cpp
1// SPDX-FileCopyrightText: 2020 Carl Schwan <carl@carlschwan.eu>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#include <QQmlEngine>
6#include <QResource>
7
8#include "kquickimageeditor_plugin.h"
9
10#include "imagedocument.h"
11#include "imageitem.h"
12#include "resizehandle.h"
13#include "resizerectangle.h"
14
15void KQuickImageEditorPlugin::registerTypes(const char *uri)
16{
17 qmlRegisterType<ResizeHandle>(uri, 1, 0, "ResizeHandle");
18 qmlRegisterType<ResizeRectangle>(uri, 1, 0, "ResizeRectangle");
19 qmlRegisterType<ImageItem>(uri, 1, 0, "ImageItem");
20 qmlRegisterType<ImageDocument>(uri, 1, 0, "ImageDocument");
21}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:40 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.