Port KAnimatedSystemTray into KSystemTray

Alex Merry kde at randomguy3.me.uk
Sat Sep 13 19:44:37 BST 2008


On Saturday 13 September 2008 19:29:18 Ingo Klöcker wrote:
> Is copying QMovie expensive or is it implicitely shared? If it isn't
> expensive to copy a QMovie then I suggest to pass a const QMovie& to
> the c'tor and to setMovie() instead of a QMovie*. Apart from avoiding
> problems with memory management this would also make the signature of
> the QMovie-taking c'tor and of setMovie() equivalent to the signature
> of the c'tor taking a QIcon and of setIcon() (given this setter exists,
> that is).

It's a QObject, so I doubt it's implicitly shared (there are problems mixing 
signals and slots with implicit sharing).

Alex


-- 
Proud KDE hacker: http://www.kde.org
Get KDE 4.1 - out now!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080913/b4e38370/attachment.sig>


More information about the kde-core-devel mailing list