PdQmlWidgets  2.0.0
PdQmlWidgets2.h
Go to the documentation of this file.
1 /*****************************************************************************
2  *
3  * Copyright (C) 2018-2022 Bjarne von Horn <vh@igh.de>,
4  * Wilhelm Hagemeister<hm@igh.de>,
5  * Florian Pose <fp@igh.de>
6  *
7  * This file is part of the PdQmlWidgets library.
8  *
9  * The PdQmlWidgets library is free software: you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public License as
11  * published by the Free Software Foundation, either version 3 of the License,
12  * or (at your option) any later version.
13  *
14  * The PdQmlWidgets library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
17  * General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with the PdQmlWidgets Library. If not, see
21  * <http://www.gnu.org/licenses/>.
22  *
23  ****************************************************************************/
24 
25 #ifndef QML_PD_WIDGETS2_H
26 #define QML_PD_WIDGETS2_H
27 
28 class QQmlEngine;
29 
30 #include <QtCore/QtGlobal>
31 
32 
34 #define PDQMLWIDGETS_MAJOR 2
35 #define PDQMLWIDGETS_MINOR 0
37 #define PDQMLWIDGETS_RELEASE 0
39 
40 namespace PdQmlWidgets {
41 
42 
44 Q_DECL_EXPORT extern const char* const pdqmlwidgets_version_code;
52 Q_DECL_EXPORT extern const char* const pdqmlwidgets_full_version;
53 
54 
55 
56 void Q_DECL_EXPORT setQmlImportPathToResourceFile(QQmlEngine &engine);
57 int Q_DECL_EXPORT registerScalarVariant();
58 int Q_DECL_EXPORT registerVectorVariant();
59 int Q_DECL_EXPORT registerLiveSvg();
60 void Q_DECL_EXPORT registerQtPdComTypes();
61 }
62 #endif // QML_PD_WIDGETS2_H
void Q_DECL_EXPORT registerQtPdComTypes()
void Q_DECL_EXPORT setQmlImportPathToResourceFile(QQmlEngine &engine)
int Q_DECL_EXPORT registerLiveSvg()
Q_DECL_EXPORT const char *const pdqmlwidgets_version_code
Library version string as "major.minor.patch".
int Q_DECL_EXPORT registerVectorVariant()
int Q_DECL_EXPORT registerScalarVariant()
Definition: LiveSvg.h:18
Q_DECL_EXPORT const char *const pdqmlwidgets_full_version
Library version with four fields followed by the commit hash.