From 44b95b3fb26013ff5dab75d4f894ca4f11298e3d Mon Sep 17 00:00:00 2001 From: Andrei Golubev Date: Thu, 3 Mar 2022 14:03:58 +0100 Subject: Remove qmltc prototype code (2/N) - Migrate to the newer output ir classes (with adjustments) - Deduplicate code writer and remove now-unused output helpers from the prototype version - Remove old output ir Change-Id: Ie7fe5e6d47e18477c65af02cabd89a890628442c Reviewed-by: Qt CI Bot Reviewed-by: Ulf Hermann --- src/qml/doc/snippets/qmltc/special/HelloWorld.qml.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/qml/doc/snippets') diff --git a/src/qml/doc/snippets/qmltc/special/HelloWorld.qml.cpp b/src/qml/doc/snippets/qmltc/special/HelloWorld.qml.cpp index ddbf3baaaa..122084f1d8 100644 --- a/src/qml/doc/snippets/qmltc/special/HelloWorld.qml.cpp +++ b/src/qml/doc/snippets/qmltc/special/HelloWorld.qml.cpp @@ -71,15 +71,15 @@ class HelloWorld : public QObject public: HelloWorld(QQmlEngine * engine, QObject * parent = nullptr); +Q_SIGNALS: + void created(); + public: void setHello(const QString& hello_); QString hello(); QBindable bindableHello(); Q_INVOKABLE void printHello(QString prefix, QString suffix); -signals: - void created(); - // ... }; //! [qmltc-hello-world-generated] -- cgit v1.2.3