summaryrefslogtreecommitdiffstats
path: root/src/datavis3dqml2/datavis3dqml2_plugin.h
blob: bb967cf089492f7274ba1c6143ca8c00542b8119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc
** All rights reserved.
** For any questions to Digia, please use contact form at http://qt.digia.com
**
** This file is part of the QtDataVis3D module.
**
** Licensees holding valid Qt Enterprise licenses may use this file in
** accordance with the Qt Enterprise License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia.
**
** If you have questions regarding the use of this file, please use
** contact form at http://qt.digia.com
**
****************************************************************************/

#ifndef DATAVIS3DQML2_PLUGIN_H
#define DATAVIS3DQML2_PLUGIN_H

#include "datavis3dglobal_p.h"
#include "declarativebars_p.h"
#include "declarativemaps_p.h"
#include "declarativescatter_p.h"
#include "qitemmodelbardatamapping.h"
#include "qitemmodelmapdatamapping.h"
#include "qitemmodelscatterdatamapping.h"
#include "qvalueaxis.h"
#include "qcategoryaxis.h"

#include <QQmlExtensionPlugin>

QT_DATAVIS3D_USE_NAMESPACE

Q_DECLARE_METATYPE(DeclarativeBars *)
Q_DECLARE_METATYPE(DeclarativeMaps *)
Q_DECLARE_METATYPE(DeclarativeScatter *)

Q_DECLARE_METATYPE(QItemModelBarDataMapping *)
Q_DECLARE_METATYPE(QItemModelMapDataMapping *)
Q_DECLARE_METATYPE(QItemModelScatterDataMapping *)
Q_DECLARE_METATYPE(QAbstractItemModel *)
Q_DECLARE_METATYPE(QDataVis *)

Q_DECLARE_METATYPE(QAbstractAxis *)
Q_DECLARE_METATYPE(QCategoryAxis *)
Q_DECLARE_METATYPE(QValueAxis *)

QT_DATAVIS3D_BEGIN_NAMESPACE

class Datavis3Dqml2Plugin : public QQmlExtensionPlugin
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")

public:
    void registerTypes(const char *uri);
};

QT_DATAVIS3D_END_NAMESPACE

#endif // DATAVIS3DQML2_PLUGIN_H