[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kio/scheduler: Does not compile with Qt from 4.8 branch
From:       Thiago Macieira <thiago () kde ! org>
Date:       2011-06-01 8:39:53
Message-ID: 11474348.NSNn2TteeC () doriath
[Download RAW message or body]


On Wednesday, 1 de June de 2011 01:42:13 argonel wrote:
> This makes a promise that any class can use a private slot without
> access checking. It doesn't say how that slot was declared, just that
> the private slot can be invoked by any other class. The change to
> Q_PRIVATE_SLOT introduces access checking of slots and breaks the
> promise, and so it needs to be left unchanged until Qt 5.

You're assuming you're allowed to use Q_PRIVATE_SLOT. That macro is not 
documented, so any use of it outside Qt is suspect by itself. Qt makes promise 
of source compatibility when using it.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic