8#include "picinfomodel.h"
9#include "imagetools_plugin.h"
15void ImageToolsPlugin::registerTypes(
const char *uri)
17#if defined(Q_OS_ANDROID)
23 qmlRegisterType(componentUrl(QStringLiteral(
"ImageViewer.qml")), uri, 1, 0,
"ImageViewer");
24 qmlRegisterType(componentUrl(QStringLiteral(
"ImageEditor.qml")), uri, 1, 0,
"ImageEditor");
26 qmlRegisterType<PicInfoModel>(uri, 1, 3,
"PicInfoModel");
27 qmlRegisterType(componentUrl(QStringLiteral(
"ImageInfoDialog.qml")), uri, 1, 3,
"ImageInfoDialog");
28 qmlRegisterType(componentUrl(QStringLiteral(
"MetadataEditor.qml")), uri, 1, 3,
"MetadataEditor");
31 qmlRegisterType<OCS>(uri, 1, 3,
"OCR");
32 qmlRegisterType(componentUrl(QStringLiteral(
"image2text/OCRPage.qml")), uri, 1, 3,
"OCRPage");
36QUrl ImageToolsPlugin::componentUrl(
const QString &fileName)
const
38 return QUrl(resolveFileUrl(fileName));
41#include "imagetools_plugin.moc"
42#include "moc_imagetools_plugin.cpp"
bool registerResource(const QString &rccFileName, const QString &mapRoot)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:53:30 by
doxygen 1.11.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.