RFC: getting rid of Widget::setSize

Aaron J. Seigo aseigo at kde.org
Mon Feb 11 09:08:18 CET 2008


hi all..

there a lot of ... questionable API in the layout stuff. one of the ones 
that's caused us issues recently is setSize. we fixed it, but i've noticed 
that we also have resize which .... does the same thing, only safely. setSize 
really should be internal API.

so unless there are objections, i'm going to remove setSize altogether and 
make all the code use resize instead.

this also has the bonus of being more like QWidget.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080211/350452d2/attachment.pgp 


More information about the Panel-devel mailing list