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