6#include <private/qpacket_p.h>
8#include <QtCore/qurl.h>
9#include <QtCore/qfile.h>
10#include <QtCore/qfileinfo.h>
11#include <QtCore/qdir.h>
12#include <QtQml/qqmlfile.h>
31 packet >> seviceError;
71 packet << static_cast<qint8>(
Error) <<
path;
78 packet << static_cast<qint8>(
Load) <<
url;
85 packet << static_cast<qint8>(
Rerun);
92 packet << static_cast<qint8>(
Zoom) << factor;
98#include "moc_qqmlpreviewclient_p.cpp"
The QPacket class encapsulates an unfragmentable packet of data to be transmitted by QPacketProtocol.
const QByteArray & data() const
Returns a reference to the raw packet data.
void sendMessage(const QByteArray &message)
QQmlDebugConnection * connection() const
void messageReceived(const QByteArray &message) override
void triggerZoom(float factor)
QQmlPreviewClient(QQmlDebugConnection *parent)
void request(const QString &path)
void sendFile(const QString &path, const QByteArray &contents)
void fps(const FpsInfo &info)
void sendError(const QString &path)
void error(const QString &message)
void sendDirectory(const QString &path, const QStringList &entries)
void triggerLoad(const QUrl &url)
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromLatin1(QByteArrayView ba)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Combined button and popup list for selecting options.
DBusConnection * connection
GLuint GLsizei const GLchar * message
GLsizei const GLchar *const * path
QT_BEGIN_NAMESPACE typedef signed char qint8
QFileInfo info(fileName)
[8]
QUrl url("example.com")
[constructor-url-reference]