qt5base-lts/tests/auto/tools/moc
Simon Hausmann 5422fb7948 Allow declaring QProperty<> based Q_PROPERTYies with a notify signal
This requires mostly making moc a bit more permissive, which has the
advantage that it also simplifies the code a little bit.

The newly added test case demonstrates how to connect such a property
with a change signal.

One test case needed to be changed regarding the callback as the
publicProperty member now has a (permanent) observer and therefore
re-assigning the binding will re-evaluate it as the value might have
changed.

Change-Id: Ia7edcec432de830bdd4e07d943c5d4550c175ca4
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2020-04-08 11:26:39 +02:00
..
subdir
task71021
Test.framework/Headers
testproject
.gitattributes
.gitignore Add support for machine-readable JSON output to the MOC 2019-10-04 18:35:29 +02:00
allmocs_baseline_in.json Add support for exposing public QProperty members in the meta-object system 2020-03-18 15:42:58 +01:00
assign-namespace.h
backslash-newlines.h
c-comments.h
cstyle-enums.h
cxx11-enums.h Remove handling of missing Q_COMPILER_CLASS_ENUM 2019-04-06 16:19:14 +00:00
cxx11-explicit-override-control.h Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
cxx11-final-classes.h
cxx17-namespaces.h tst_moc: fix include guards 2017-03-25 12:53:09 +00:00
cxx-attributes.h moc: Fix parsing of [[deprecated]] enum values 2019-03-11 14:11:33 +00:00
dir-in-include-path.h
dollars.h
error-on-wrong-notify.h moc: Allow NOTIFY signals defined in parent classes 2017-05-23 11:11:52 +00:00
escapes-in-string-literals.h
extraqualification.h
forgotten-qinterface.h
forward-declared-param.h
function-with-attributes.h
fwdclass1.h Introduce Q_MOC_INCLUDE 2020-01-17 02:22:22 +01:00
fwdclass2.h Introduce Q_MOC_INCLUDE 2020-01-17 02:22:22 +01:00
fwdclass3.h Introduce Q_MOC_INCLUDE 2020-01-17 02:22:22 +01:00
gadgetwithnoenums.h
grand-parent-gadget-class.h Support Q_GADGET QMetaObject super class hierarchies across templates 2019-12-12 13:02:52 +01:00
Header
interface-from-framework.h
interface-from-include.h
macro-on-cmdline.h
moc_include.h Introduce Q_MOC_INCLUDE 2020-01-17 02:22:22 +01:00
moc.pro Introduce Q_MOC_INCLUDE 2020-01-17 02:22:22 +01:00
namespace_no_merge.h moc: support nested q_namespaces 2016-09-28 16:44:19 +00:00
namespace.h moc: Don't error our when parsing "using namespace __identifier(...)" 2018-03-05 06:54:06 +00:00
namespaced-flags.h
no-keywords.h Clean up the moc "no-keywords" test 2018-03-21 10:31:20 +00:00
non-gadget-parent-class.h
oldstyle-casts.h
os9-newlines.h
parse-boost.h
parse-defines.h Remove handling of missing very old compiler feature check 2019-04-06 13:27:15 +00:00
plugin_metadata.h
pp-dollar-signs.h
pure-virtual-signals.h
qinvokable.h
qprivateslots.h
qtbug-35657-gadget.h
related-metaobjects-in-gadget.h
related-metaobjects-in-namespaces.h
related-metaobjects-name-conflict.h
single_function_keyword.h
single-quote-digit-separator-n3781.h
slots-with-void-template.h
task87883.h
task192552.h
task234909.h
task240368.h
template-gtgt.h
trigraphs.h
tst_moc.cpp Allow declaring QProperty<> based Q_PROPERTYies with a notify signal 2020-04-08 11:26:39 +02:00
unterminated-function-macro.h
using-namespaces.h
warn-on-multiple-qobject-subclasses.h
warn-on-property-without-read.h
win-newlines.h