aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecomponent_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qdeclarativecomponent_p.h')
-rw-r--r--src/declarative/qml/qdeclarativecomponent_p.h131
1 files changed, 0 insertions, 131 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent_p.h b/src/declarative/qml/qdeclarativecomponent_p.h
deleted file mode 100644
index 6824bd2927..0000000000
--- a/src/declarative/qml/qdeclarativecomponent_p.h
+++ /dev/null
@@ -1,131 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: http://www.qt-project.org/
-**
-** This file is part of the QtDeclarative module 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 QDECLARATIVECOMPONENT_P_H
-#define QDECLARATIVECOMPONENT_P_H
-
-//
-// W A R N I N G
-// -------------
-//
-// This file is not part of the Qt API. It exists purely as an
-// implementation detail. This header file may change from version to
-// version without notice, or even be removed.
-//
-// We mean it.
-//
-
-#include "qdeclarativecomponent.h"
-
-#include <private/qv8_p.h>
-#include "qdeclarativeengine_p.h"
-#include "qdeclarativetypeloader_p.h"
-#include <private/qbitfield_p.h>
-#include "qdeclarativevme_p.h"
-#include "qdeclarativeerror.h"
-#include "qdeclarative.h"
-#include "../debugger/qdeclarativeprofilerservice_p.h"
-
-#include <QtCore/QString>
-#include <QtCore/QStringList>
-#include <QtCore/QList>
-
-#include <private/qobject_p.h>
-
-QT_BEGIN_NAMESPACE
-
-class QV8Engine;
-
-class QDeclarativeComponent;
-class QDeclarativeEngine;
-class QDeclarativeCompiledData;
-
-class QDeclarativeComponentAttached;
-class Q_DECLARATIVE_PRIVATE_EXPORT QDeclarativeComponentPrivate : public QObjectPrivate, public QDeclarativeTypeData::TypeDataCallback
-{
- Q_DECLARE_PUBLIC(QDeclarativeComponent)
-
-public:
- QDeclarativeComponentPrivate() : typeData(0), progress(0.), start(-1), cc(0), engine(0), creationContext(0), profiler(0) {}
-
- QObject *beginCreate(QDeclarativeContextData *);
- void completeCreate();
- void initializeObjectWithInitialProperties(v8::Handle<v8::Object> qmlGlobal, v8::Handle<v8::Object> valuemap, QObject *toCreate);
-
- QDeclarativeTypeData *typeData;
- virtual void typeDataReady(QDeclarativeTypeData *);
- virtual void typeDataProgress(QDeclarativeTypeData *, qreal);
-
- void fromTypeData(QDeclarativeTypeData *data);
-
- QUrl url;
- qreal progress;
-
- int start;
- QDeclarativeCompiledData *cc;
-
- struct ConstructionState {
- ConstructionState() : completePending(false) {}
-
- QDeclarativeVME vme;
- QList<QDeclarativeError> errors;
- bool completePending;
- };
- ConstructionState state;
-
- static void beginDeferred(QDeclarativeEnginePrivate *enginePriv, QObject *object,
- ConstructionState *state);
- static void complete(QDeclarativeEnginePrivate *enginePriv, ConstructionState *state);
-
- QDeclarativeEngine *engine;
- QDeclarativeGuardedContextData creationContext;
- QDeclarativeObjectCreatingProfiler *profiler;
-
- void clear();
-
- static QDeclarativeComponentPrivate *get(QDeclarativeComponent *c) {
- return static_cast<QDeclarativeComponentPrivate *>(QObjectPrivate::get(c));
- }
-};
-
-QT_END_NAMESPACE
-
-#endif // QDECLARATIVECOMPONENT_P_H