DtkDeclarative
DTK Declarative module
载入中...
搜索中...
未找到
dqmlapppreloadinterface.h
1
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DQMLAPPPLUGINPRELOADINTERFACE_H
6
#define DQMLAPPPLUGINPRELOADINTERFACE_H
7
8
#include <QSGRendererInterface>
9
#include <dtkdeclarative_global.h>
10
11
#define DQmlAppPreloadInterface_iid "dtk.qml.app.preload.interface"
12
13
QT_BEGIN_NAMESPACE
14
class
QGuiApplication;
15
class
QQmlApplicationEngine;
16
class
QQmlEngine;
17
QT_END_NAMESPACE
18
19
DQUICK_BEGIN_NAMESPACE
20
21
class
DQmlAppPreloadInterface
22
{
23
public
:
24
DQmlAppPreloadInterface
() =
default
;
25
virtual
~DQmlAppPreloadInterface
() =
default
;
26
27
virtual
QUrl preloadComponentPath()
const
= 0;
28
virtual
void
aboutToPreload(QQmlApplicationEngine *engine);
29
virtual
QGuiApplication *creatApplication(
int
&argc,
char
**argv);
30
virtual
QSGRendererInterface::GraphicsApi graphicsApi();
31
};
32
33
DQUICK_END_NAMESPACE
34
35
Q_DECLARE_INTERFACE(DTK_QUICK_NAMESPACE::DQmlAppPreloadInterface, DQmlAppPreloadInterface_iid)
36
#endif
// DQMLAPPPLUGINPRELOADINTERFACE_H
Dtk::Quick::DQmlAppPreloadInterface
Definition
dqmlapppreloadinterface.h:22
src
dqmlapppreloadinterface.h
文档生成时间:2024-02-02-06:50 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享