ViewSolutions
Loading...
Searching...
No Matches
viewsolutions.h
Go to the documentation of this file.
1
//#
2
//# Copyright (C) 2020-2025 QuasarApp.
3
//# Distributed under the GPLv3 software license, see the accompanying
4
//# Everyone is permitted to copy and distribute verbatim copies
5
//# of this license document, but changing it is not allowed.
6
//#
7
8
#ifndef VIEWSOLUTIONS_H
9
#define VIEWSOLUTIONS_H
10
11
#include "
modelstorage.h
"
12
#include "
viewsolutions_global.h
"
13
14
class
QQmlApplicationEngine;
15
17
//#define INIT_VIEW_SOLUTIONS(result, engine) \
18
// Q_INIT_RESOURCE(ViewSolutionsResources); \
19
// result = ViewSolutions::init(engine)
20
21
inline
void
initResources
() { Q_INIT_RESOURCE(ViewSolutionsResources); }
25
namespace
ViewSolutions
{
26
32
QSharedPointer<ModelStorage>
VIEWSOLUTION_EXPORT
init
(QQmlApplicationEngine *engine);
33
}
34
35
#endif
// VIEWSOLUTIONS_H
modelstorage.h
ViewSolutions
the ViewSolutions namespace
Definition
basehashmodel.h:13
ViewSolutions::init
QSharedPointer< ModelStorage > init(QQmlApplicationEngine *engine)
init this method import all qml resources to your project.
Definition
viewsolutions.cpp:18
initResources
void initResources()
Definition
viewsolutions.h:21
viewsolutions_global.h
VIEWSOLUTION_EXPORT
#define VIEWSOLUTION_EXPORT
Definition
viewsolutions_global.h:16
ViewSolutions
src
viewsolutions.h
Generated by
1.9.8