4#ifndef QQMLPREVIEWSERVICE_H
5#define QQMLPREVIEWSERVICE_H
20#include <private/qqmldebugserviceinterfaces_p.h>
69 QScopedPointer<QQmlPreviewFileEngineHandler> m_fileEngine;
70 QScopedPointer<QQmlPreviewFileLoader> m_loader;
The QJSEngine class provides an environment for evaluating JavaScript code.
QObject * parent() const
Returns a pointer to the parent object.
void forwardRequest(const QString &file)
void engineAboutToBeRemoved(QJSEngine *engine) override
QQuickItem * currentRootItem()
QQmlPreviewServiceImpl(QObject *parent=nullptr)
void file(const QString &file, const QByteArray &contents)
void directory(const QString &file, const QStringList &entries)
virtual ~QQmlPreviewServiceImpl()
void engineAboutToBeAdded(QJSEngine *engine) override
void forwardFps(const QQmlPreviewHandler::FpsInfo &frames)
static const QString s_key
void load(const QUrl &url)
void stateChanged(State state) override
void error(const QString &file)
void forwardError(const QString &error)
void messageReceived(const QByteArray &message) override
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
GLuint GLsizei const GLchar * message
QUrl url("example.com")
[constructor-url-reference]