[Kde-games-devel] KMahjongg frameworks branch

Albert Astals Cid aacid at kde.org
Thu Nov 19 23:10:40 UTC 2015


El Thursday 19 November 2015, a les 14:05:05, Ian Wadham va escriure:
> Hi Frederik,
> 
> On 19/11/2015, at 12:11 AM, Frederik Schwarzer wrote:
> > Am Mittwoch, 18. November 2015, 16:46:24 schrieb Ian Wadham:
> >> Hi Frederik,
> >> 
> >> On 18/11/2015, at 10:13 AM, Ian Wadham wrote:
> >> Is there any real need to change this syntax? Apparently the old
> >> syntax is supported by Qt5.
> > 
> > KMahjongg was ported to the new syntax, so I did not want to have both
> > versions mixed in one code base.
> > 
> >> Also I am worried that, in old code
> >> such as most KDE Games, signals with parameters might go wrong and
> >> automatic disconnects might fail when an object is destroyed.
> > 
> > Hmm, are there known problems?
> 
> Not that I know of.  What worries me is that the preview blog about the new
> syntax  (https://wiki.qt.io/New_Signal_Slot_Syntax) had a comment about
> disconnection not being automatic when you delete a connected object.

That is if you're using a closure (aka lambda), which we are not.

Cheers,
  Albert


More information about the kde-games-devel mailing list