canvas->addObject(qEdjeInstance).
IMPORTANT: setSize() does not happen automatically in the constructor
anymore so it must be called explicity when appropriate. This may break
applications that used to rely on the old behavior. You can correct that
by calling the following line right after the creation of a new QEdje
instance:
qEdjeInstance->setSize(canvas->size())
Where 'canvas' is the canvas which was used to create that instance.
Signed-off-by: Eduardo M. Fleury <eduardo...@openbossa.org>
Reviewed-by: Caio Oliveira <caio.o...@openbossa.org>
--
Eduardo M. Fleury
OpenBossa Labs - INdT
http://www.openbossa.org/
On Wed, Jan 7, 2009 at 8:43 PM, Eduardo Fleury
<eduardo...@openbossa.org> wrote:
> Constructor used to require a valid canvas only to set the initial size.
> We now allow the creation of a QEdje instance with a NULL canvas that
> can be set later using:
Applied, thanks!
--
-------------------------------------------------------
Artur Duque de Souza
OpenBossa Research Labs
INdT - Instituto Nokia de Tecnologia
-------------------------------------------------------
Blog: http://labs.morpheuz.eng.br/blog/
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
-------------------------------------------------------