aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmltc/qmltccompilerpieces.h
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2022-04-14 11:07:19 +0200
committerAndrei Golubev <andrei.golubev@qt.io>2022-04-28 09:43:36 +0200
commite98faf1df401268dc6966b39963547a4de6f9171 (patch)
tree949e89e7c8e2e8cd4156b7d2ab6a51617daf9936 /tools/qmltc/qmltccompilerpieces.h
parentc1d5fe306505a3201b7f6f04ebb42e7ee00ff94d (diff)
qmltc: Support setting Gradient property of Rectangle
Fixes: QTBUG-102560 Pick-to: 6.3 Change-Id: I7c339d2807a723f38e18e06b944362449d89ad7a Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools/qmltc/qmltccompilerpieces.h')
-rw-r--r--tools/qmltc/qmltccompilerpieces.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qmltc/qmltccompilerpieces.h b/tools/qmltc/qmltccompilerpieces.h
index e65807437e..a081122b33 100644
--- a/tools/qmltc/qmltccompilerpieces.h
+++ b/tools/qmltc/qmltccompilerpieces.h
@@ -76,7 +76,8 @@ struct QmltcCodeGenerator
static void generate_assignToProperty(QStringList *block, const QQmlJSScope::ConstPtr &type,
const QQmlJSMetaProperty &p, const QString &value,
- const QString &accessor, bool constructQVariant = false);
+ const QString &accessor,
+ bool constructFromQObject = false);
static void generate_setIdValue(QStringList *block, const QString &context, qsizetype index,
const QString &accessor, const QString &idString);