ViewSolutions
1.0.100.30ae2aa
View solutions of qml for quasarapp projects
Toggle main menu visibility
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
32
inline
void
initResources
() {
/*Q_INIT_RESOURCE(ViewSolutionsResources);*/
}
33
72
namespace
ViewSolutions
{
73
92
[[nodiscard(
"The ViewSolutions create model storage space for all QML. This is central model for fast acces to models of your App."
) ]]
93
QSharedPointer<ModelStorage>
VIEWSOLUTION_EXPORT
init
(QQmlEngine *engine);
94
}
95
96
#endif
// VIEWSOLUTIONS_H
modelstorage.h
ViewSolutions
The ViewSolutions namespace.
Definition
avatargenerator.cpp:14
ViewSolutions::init
QSharedPointer< ModelStorage > init(QQmlEngine *engine)
init this method import all qml resources to your project and creates the central model storage of th...
Definition
viewsolutions.cpp:18
initResources
void initResources()
initResources loads the QML resources of the ViewSolutions module.
Definition
viewsolutions.h:32
viewsolutions_global.h
VIEWSOLUTION_EXPORT
#define VIEWSOLUTION_EXPORT
VIEWSOLUTION_EXPORT marks a symbol as part of the public ViewSolutions API.
Definition
viewsolutions_global.h:33
ViewSolutions
src
viewsolutions.h
Generated by
1.18.0