diff options
Diffstat (limited to 'src/datavis3dqml2/datavis3dqml2_plugin.h')
-rw-r--r-- | src/datavis3dqml2/datavis3dqml2_plugin.h | 82 |
1 files changed, 30 insertions, 52 deletions
diff --git a/src/datavis3dqml2/datavis3dqml2_plugin.h b/src/datavis3dqml2/datavis3dqml2_plugin.h index 9dcf00cb..ac88e1b5 100644 --- a/src/datavis3dqml2/datavis3dqml2_plugin.h +++ b/src/datavis3dqml2/datavis3dqml2_plugin.h @@ -1,75 +1,53 @@ /**************************************************************************** ** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal +** 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. ** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the +** 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. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. +** a written agreement between you and Digia. ** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU General Public License version 3.0 requirements will be -** met: http://www.gnu.org/copyleft/gpl.html. -** -** -** $QT_END_LICENSE$ +** 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 "QtDataVis3D/qdatavis3dglobal.h" -#include "QtDataVis3D/qdatavis3namespace.h" -#include "qdataitem.h" -#include "qdatarow.h" -#include "qdataset.h" - -#include "declarativebars.h" -#include "declarativemaps.h" -//#include "declarativedataitem.h" -//#include "declarativedatarow.h" -//#include "declarativedataset.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> -QTENTERPRISE_DATAVIS3D_USE_NAMESPACE - -//Q_DECLARE_METATYPE(DeclarativeDataItem *) -//Q_DECLARE_METATYPE(DeclarativeDataRow *) -//Q_DECLARE_METATYPE(DeclarativeDataSet *) +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(QDataItem *) -Q_DECLARE_METATYPE(QDataRow *) -Q_DECLARE_METATYPE(QDataSet *) +Q_DECLARE_METATYPE(QAbstractAxis *) +Q_DECLARE_METATYPE(QCategoryAxis *) +Q_DECLARE_METATYPE(QValueAxis *) -QTENTERPRISE_DATAVIS3D_BEGIN_NAMESPACE +QT_DATAVIS3D_BEGIN_NAMESPACE class Datavis3dqml2Plugin : public QQmlExtensionPlugin { @@ -80,7 +58,7 @@ public: void registerTypes(const char *uri); }; -QTENTERPRISE_DATAVIS3D_END_NAMESPACE +QT_DATAVIS3D_END_NAMESPACE #endif // DATAVIS3DQML2_PLUGIN_H |