diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-02 12:52:05 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-05 14:58:58 +0200 |
commit | 31302761f0cab83ad412797afe8f39a497b02531 (patch) | |
tree | b8db32c966491bc2c42e352518203dbad9dc63dc /tools/qmlplugindump/main.cpp | |
parent | 4f44f82b9f152572222d5d9db78faa5c1db3413c (diff) |
QmlCompiler: Rename QmlStreamWriter
The names should start with a common prefix.
Change-Id: Ib2cc247d459d78de5f0a8ea0be73b89429154475
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmlplugindump/main.cpp')
-rw-r--r-- | tools/qmlplugindump/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index bfc78f2974..aa78a9c6bc 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -60,7 +60,7 @@ #include <algorithm> #include "qmltypereader.h" -#include "qmlstreamwriter_p.h" +#include "qqmljsstreamwriter_p.h" #ifdef QT_SIMULATOR #include <QtGui/private/qsimulatorconnection_p.h> @@ -360,11 +360,11 @@ public: class Dumper { - QmlStreamWriter *qml; + QQmlJSStreamWriter *qml; QString relocatableModuleUri; public: - Dumper(QmlStreamWriter *qml) : qml(qml) {} + Dumper(QQmlJSStreamWriter *qml) : qml(qml) {} void setRelocatableModuleUri(const QString &uri) { @@ -1346,7 +1346,7 @@ int main(int argc, char *argv[]) // start dumping data QByteArray bytes; - QmlStreamWriter qml(&bytes); + QQmlJSStreamWriter qml(&bytes); qml.writeStartDocument(); qml.writeLibraryImport(QLatin1String("QtQuick.tooling"), 1, 2); |