GammaRay  2.3.0
metatypedeclarations.h
Go to the documentation of this file.
1 /*
2  metatypedeclarations.h
3 
4  This file is part of GammaRay, the Qt application inspection and
5  manipulation tool.
6 
7  Copyright (C) 2011-2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
8  Author: Volker Krause <volker.krause@kdab.com>
9 
10  Licensees holding valid commercial KDAB GammaRay licenses may use this file in
11  acuordance with GammaRay Commercial License Agreement provided with the Software.
12 
13  Contact info@kdab.com if any conditions of this licensing are not clear to you.
14 
15  This program is free software; you can redistribute it and/or modify
16  it under the terms of the GNU General Public License as published by
17  the Free Software Foundation, either version 2 of the License, or
18  (at your option) any later version.
19 
20  This program is distributed in the hope that it will be useful,
21  but WITHOUT ANY WARRANTY; without even the implied warranty of
22  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  GNU General Public License for more details.
24 
25  You should have received a copy of the GNU General Public License
26  along with this program. If not, see <http://www.gnu.org/licenses/>.
27 */
38 #ifndef GAMMARAY_METATYPEDECLARATIONS_H
39 #define GAMMARAY_METATYPEDECLARATIONS_H
40 
41 #include <QMetaMethod>
42 #include <QMargins>
43 #include <QPainterPath>
44 #include <QMatrix4x4>
45 
46 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
47 #include <QGuiApplication>
48 #include <QOpenGLShader>
49 #include <QSurface>
50 #include <QSurfaceFormat>
51 #endif
52 
53 Q_DECLARE_METATYPE(Qt::ConnectionType)
54 Q_DECLARE_METATYPE(Qt::FillRule)
55 Q_DECLARE_METATYPE(Qt::InputMethodHints)
56 Q_DECLARE_METATYPE(Qt::MouseButtons)
57 Q_DECLARE_METATYPE(Qt::TransformationMode)
58 Q_DECLARE_METATYPE(QPainterPath)
59 Q_DECLARE_METATYPE(QPolygonF)
60 Q_DECLARE_METATYPE(QMetaMethod::MethodType)
61 Q_DECLARE_METATYPE(QMargins)
62 Q_DECLARE_METATYPE(Qt::WindowType)
63 Q_DECLARE_METATYPE(Qt::WindowState)
64 Q_DECLARE_METATYPE(const QMatrix4x4*)
65 
66 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
67 Q_DECLARE_METATYPE(QOpenGLShader::ShaderType)
68 Q_DECLARE_METATYPE(QSurfaceFormat)
69 Q_DECLARE_METATYPE(QSurface::SurfaceClass)
70 Q_DECLARE_METATYPE(QSurface::SurfaceType)
71 #endif
72 
73 #if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0) && QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
74 Q_DECLARE_METATYPE(Qt::ApplicationState)
75 #endif
76 
77 #endif

Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
http://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
http://www.kdab.com/kdab-products/gammaray/