[Development] Possible bug in signals and slots handling in QML.

Atlant Schmidt aschmidt at dekaresearch.com
Wed Jan 4 13:51:48 CET 2012


Thiago, et al.:

  This is another one of those "don't play in the
  grey areas of the language" things.

  Even if identifiers are case-sensitive, one should
  probably never depend upon that; why tempt fate?

                          Atlant

-----Original Message-----
From: development-bounces+aschmidt=dekaresearch.com at qt-project.org [mailto:development-bounces+aschmidt=dekaresearch.com at qt-project.org] On Behalf Of Thiago Macieira
Sent: Wednesday, January 04, 2012 06:58
To: development at qt-project.org
Subject: Re: [Development] Possible bug in signals and slots handling in QML.

On Wednesday, 4 de January de 2012 06.32.52, martin.jones at nokia.com wrote:
> 1. The capitalization of the first alpha character after the underscore is
> deliberate.  Signal handlers are defined as being 'on' followed by a
> capital letter.  Since underscore has no capital, it must be the first
> non-underscore letter.

Are identifiers case-sensitive on QML? If so, what happens if someone has both
signals or properties, with both capitalisations? Is there a way to
disambiguate?

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.



More information about the Development mailing list