A Qt replacement for KGlobal::ref and deref
Thiago Macieira
thiago at kde.org
Mon Feb 14 10:48:45 GMT 2011
Em domingo, 13 de fevereiro de 2011, às 07:44:22, Aaron J. Seigo escreveu:
> that is easily provably wrong: KDE apps are also Qt apps, they don't require
> a window to display its progress and therefore refcounting is needed. i can
> trivially write a Qt app that uses the notification dbus service and end up
> in the same place.
True.
Let me skip to the point:
> an app-global reference count allows the application to handle this very
> real use case; without it, the use case is not feasible. it's not Qt's job
> to prevent developers from shooting themselves in the foot with features
> that are otherwise needed to get a certain task done.
I agree, as long as the reference count is tied to the window count. People
should understand that a GUI application running with no GUI makes no sense
and should be avoided. So from a usability point of view, you can run jobs,
provided that you get a notification about them, somewhere.
--
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/20110214/0febf84b/attachment.sig>
More information about the kde-core-devel
mailing list