[kdev 4] isn't this dangerous?

Andras Mantia amantia at kde.org
Fri Apr 20 16:57:27 UTC 2007


On Friday 20 April 2007, Andreas Pakulat wrote:
> Because the instances are not created by us. We can only give a
> QObject to KServiceTypeTrader::createInstanceFromQuery as parent.

Well, but shouldn't we do a dynamic_cast at least?

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070420/be7e18b0/attachment.sig>


More information about the KDevelop-devel mailing list