kio/scheduler: Does not compile with Qt from 4.8 branch

Thiago Macieira thiago at kde.org
Wed Jun 1 09:39:53 BST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110601/dc723743/attachment.sig>


More information about the kde-core-devel mailing list