Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmlinplacepreviewhandler.cpp File Reference

(c6ad88d28c3a9b9135cf6b6ead01f8299ec03910)

#include "qqmlinplacepreviewhandler.h"
#include "qqmlpreviewservice.h"
#include <QtGui/qguiapplication.h>
#include <QtQml/qqmlcomponent.h>
#include <QtQuick/qquickwindow.h>
#include <QtQuick/qquickitem.h>
#include <private/qqmlmetatype_p.h>
#include <private/qv4compileddata_p.h>
#include <private/qqmlpreviewobjectpatch_p.h>
#include <private/qv4mm_p.h>
#include <private/qqmlcomponent_p.h>
#include <private/qv4resolvedtypereference_p.h>
#include "moc_qqmlinplacepreviewhandler.cpp"
Include dependency graph for qqmlinplacepreviewhandler.cpp:

Go to the source code of this file.

Classes

struct  ComponentUpdate
struct  InplaceUpdate

Functions

QQuickWindowfindCurrentWindow ()
void findCurrentRootObject (QQmlEngine *engine, const QUrl &url, QQmlPreviewHandler *receiver)
static void updateResolvedTypeReferences (QV4::ExecutionEngine *v4, const QList< QQmlRefPointer< QV4::CompiledData::CompilationUnit > > &droppedUnits)
static void updateInplace (QQmlComponent *component, std::shared_ptr< InplaceUpdate > inplaceUpdate)
void updateEngine (std::shared_ptr< InplaceUpdate > inplaceUpdate, const QList< QUrl > &urls)

Function Documentation

◆ findCurrentRootObject()

void findCurrentRootObject ( QQmlEngine * engine,
const QUrl & url,
QQmlPreviewHandler * receiver )

Definition at line 86 of file qqmlinplacepreviewhandler.cpp.

◆ findCurrentWindow()

QQuickWindow * findCurrentWindow ( )

Definition at line 73 of file qqmlinplacepreviewhandler.cpp.

Referenced by QQmlInPlacePreviewHandler::load().

Here is the caller graph for this function:

◆ updateEngine()

void updateEngine ( std::shared_ptr< InplaceUpdate > inplaceUpdate,
const QList< QUrl > & urls )

Definition at line 210 of file qqmlinplacepreviewhandler.cpp.

◆ updateInplace()

void updateInplace ( QQmlComponent * component,
std::shared_ptr< InplaceUpdate > inplaceUpdate )
static

Definition at line 155 of file qqmlinplacepreviewhandler.cpp.

◆ updateResolvedTypeReferences()

void updateResolvedTypeReferences ( QV4::ExecutionEngine * v4,
const QList< QQmlRefPointer< QV4::CompiledData::CompilationUnit > > & droppedUnits )
static

Definition at line 130 of file qqmlinplacepreviewhandler.cpp.