aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/snippets
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2022-03-03 14:03:58 +0100
committerAndrei Golubev <andrei.golubev@qt.io>2022-03-08 18:35:23 +0100
commit44b95b3fb26013ff5dab75d4f894ca4f11298e3d (patch)
tree5a2b58d6de34975f62670ae86d7e507a1a80603a /src/qml/doc/snippets
parent3c680af4e9164b81548c1c633f3c0a2f0583aea4 (diff)
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 <qt_ci_bot@qt-project.org> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/snippets')
-rw-r--r--src/qml/doc/snippets/qmltc/special/HelloWorld.qml.cpp6
1 files changed, 3 insertions, 3 deletions
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<QString> bindableHello();
Q_INVOKABLE void printHello(QString prefix, QString suffix);
-signals:
- void created();
-
// ...
};
//! [qmltc-hello-world-generated]