shared lib: conversion-lib in Plasma

Petri Damstén petri.damsten at
Sun Jul 26 08:26:22 BST 2009

On Friday 24 July 2009 00:24:29 Aaron J. Seigo wrote:
> >  * Do you really need Unit being a QObject?
> it's apparently used for memory management, but it's parented to the
> Converter singleton so they will live for the lifetime of the application
> -> not so good. will fix....

Unit must live for the lifetime of the application. UnitCategory uses those to 
do the actual conversion and has two maps String > Unit and Enum > Unit. If 
unit class is deleted you cannot convert to that unit again.

-------------- 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: <>

More information about the kde-core-devel mailing list