[Development] A modest proposal: disable lower-case keywords (emit, foreach, forever, signals, slots) by default

Daniel Engelke daniel.engelke at basyskom.com
Fri Feb 21 10:02:50 CET 2020


Hey, 

That's a great idea.


Dan


From:   Vad Rulezz <ml at vr5.green-server.tk> 
 To:   <development at qt-project.org> 
 Sent:   2/21/2020 9:52 AM 
 Subject:   Re: [Development] A modest proposal: disable lower-case keywords (emit, foreach, forever, signals, slots) by default 

Hello,

On 2/21/20 11:23 AM, Kai Köhne wrote:
> Another alternative is to actually use C++ attributes for this:
> 
>    [[qt::emit]] somethingChanged();

+1 Good idea.


Vad
_______________________________________________
Development mailing list
Development at qt-project.org
https://lists.qt-project.org/listinfo/development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200221/388b0fb4/attachment.html>


More information about the Development mailing list