synaptiks – KDE touchpad management
Sebastian Wiesner
basti.wiesner at gmx.net
Thu Mar 4 11:20:37 GMT 2010
On Thursday 04 March 2010 01:09:35 Alex Merry wrote
> On Wednesday 03 March 2010 17:53:14 Sebastian Wiesner wrote:
> > Well, synaptiks uses C++ exceptions. I don't know, if that is an issue …
> > kdelibs doesn't use exceptions, but on the other hand I didn't find any
> > policy on KDE techbase, that advises against using exceptions.
>
> As David said, exceptions aren't inherently a problem. The policy (is it
> written down anywhere?) is that we don't use exceptions in the platform
> libraries.
>
> You should also bear in mind that exceptions may be disabled in the Qt
> build, and so should not be allowed to pass into Qt code
In synaptiks, exceptions are caught in slots and turned into notifications or
D-Bus errors (depending on how the slot was called), Qt doesn't see any
exceptions.
--
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100304/0cdeaa98/attachment.sig>
More information about the kde-core-devel
mailing list