# contains(QT_CONFIG, opengl): SUBDIRS += tools/view3d
contains(QT_CONFIG, webkit): SUBDIRS += qwebview
contains(QT_CONFIG, phonon): SUBDIRS += phononwidgets
-contains(QT_CONFIG, quick1): SUBDIRS += qdeclarativeview
win32: contains(QT_CONFIG, activeqt): SUBDIRS += activeqt
+++ /dev/null
-TEMPLATE = lib
-TARGET = qdeclarativeview
-CONFIG += qt warn_on plugin designer
-QT += quick1 widgets
-
-include(../plugins.pri)
-build_all:!build_pass {
- CONFIG -= build_all
- CONFIG += release
-}
-
-SOURCES += qdeclarativeview_plugin.cpp
-HEADERS += qdeclarativeview_plugin.h
-OTHER_FILES += qdeclarativeview.json
+++ /dev/null
-/****************************************************************************
-**
-** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: http://www.qt-project.org/
-**
-** This file is part of the Qt Designer of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** 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, Nokia gives you certain additional
-** rights. These rights are described in the Nokia 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.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "qdeclarativeview_plugin.h"
-
-#include <QtDesigner/QExtensionFactory>
-#include <QtDesigner/QExtensionManager>
-
-#include <QtCore/qplugin.h>
-#include <QtQuick1/QDeclarativeView>
-
-static const char toolTipC[] = "QtDeclarative view widget";
-
-QT_BEGIN_NAMESPACE
-
-QDeclarativeViewPlugin::QDeclarativeViewPlugin(QObject *parent) :
- QObject(parent),
- m_initialized(false)
-{
-}
-
-QString QDeclarativeViewPlugin::name() const
-{
- return QStringLiteral("QDeclarativeView");
-}
-
-QString QDeclarativeViewPlugin::group() const
-{
- return QStringLiteral("Display Widgets");
-}
-
-QString QDeclarativeViewPlugin::toolTip() const
-{
- return tr(toolTipC);
-}
-
-QString QDeclarativeViewPlugin::whatsThis() const
-{
- return tr(toolTipC);
-}
-
-QString QDeclarativeViewPlugin::includeFile() const
-{
- return QStringLiteral("QtDeclarative/QDeclarativeView");
-}
-
-QIcon QDeclarativeViewPlugin::icon() const
-{
- return QIcon();
-}
-
-bool QDeclarativeViewPlugin::isContainer() const
-{
- return false;
-}
-
-QWidget *QDeclarativeViewPlugin::createWidget(QWidget *parent)
-{
- return new QDeclarativeView(parent);
-}
-
-bool QDeclarativeViewPlugin::isInitialized() const
-{
- return m_initialized;
-}
-
-void QDeclarativeViewPlugin::initialize(QDesignerFormEditorInterface * /*core*/)
-{
- if (m_initialized)
- return;
-
- m_initialized = true;
-}
-
-QString QDeclarativeViewPlugin::domXml() const
-{
- return QStringLiteral("\
- <ui language=\"c++\">\
- <widget class=\"QDeclarativeView\" name=\"declarativeView\">\
- <property name=\"geometry\">\
- <rect>\
- <x>0</x>\
- <y>0</y>\
- <width>300</width>\
- <height>200</height>\
- </rect>\
- </property>\
- </widget>\
- </ui>");
-}
-
-QT_END_NAMESPACE
+++ /dev/null
-/****************************************************************************
-**
-** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: http://www.qt-project.org/
-**
-** This file is part of the Qt Designer of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** 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, Nokia gives you certain additional
-** rights. These rights are described in the Nokia 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.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QDECLARATIVEVIEW_PLUGIN_H
-#define QDECLARATIVEVIEW_PLUGIN_H
-
-#include <QtDesigner/QDesignerCustomWidgetInterface>
-
-QT_BEGIN_NAMESPACE
-
-class QDeclarativeViewPlugin: public QObject, public QDesignerCustomWidgetInterface
-{
- Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface" FILE "qdeclarativeview.json")
- Q_INTERFACES(QDesignerCustomWidgetInterface)
-public:
- QDeclarativeViewPlugin(QObject *parent = 0);
-
- virtual QString name() const;
- virtual QString group() const;
- virtual QString toolTip() const;
- virtual QString whatsThis() const;
- virtual QString includeFile() const;
- virtual QIcon icon() const;
- virtual bool isContainer() const;
- virtual QWidget *createWidget(QWidget *parent);
- virtual bool isInitialized() const;
- virtual void initialize(QDesignerFormEditorInterface *core);
- virtual QString domXml() const;
-
-private:
- bool m_initialized;
-};
-
-QT_END_NAMESPACE
-
-#endif // QDECLARATIVEVIEW_PLUGIN_H