26.02.2020, 19:28, "Alex Blasche" <alexander.blas...@qt.io>:
>>  Am 26.02.20 um 13:42 schrieb Tor Arne Vestbø:
>>  > We don’t need one rule to rule them all either. Many signals are named
>>  fooChanged(), and can perfectly well stand on their own, without 
>> annotations.
>>  Corner cases like "emit pressed();” can be annotated with Q_EMIT or a 
>> comment
>>  to make it clearer what’s going on.
>
> Some end with "Changed". The overwhelming amount does not follow this rule 
> and we won't change the naming for Qt 6 either. The naming convention merely 
> states that there is a verb at the end.

For example, let's consider QAbstractButton::clicked() signal. There is no sense
in renaming it to anything ending with "Changed".

-- 
Regards,
Konstantin

_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to