replacement for KDialog::[save|restore]DialogSize?

Aaron J. Seigo aseigo at kde.org
Sun Sep 14 20:22:38 BST 2014


On Sunday, September 14, 2014 19.49:42 Thomas L├╝bking wrote:
> On Sonntag, 14. September 2014 19:16:35 CEST, Aaron J. Seigo wrote:
> > hi..
> > 
> > what is the new idiom for KDialog::[save|restore]DialogSize when moving to
> > QDialog?
> > 
> > i couldn't find anything in the porting notes or in the porting scripts.
> 
> KWindowConfig::[save|restore]WindowSize, i'd say.

thanks. it's a little quirky: it doesn't work from the ctor of a QDialog 
subclass... but the window in questions already had a delayed init sequence so 
no big deal

> Dialog sized should also be maintained implicitly - see reviews 119594,

they definitely aren't at the moment; would be great if they would be. 
hopefully i can get rid of that code when this is actually working as 
intended.

-- 
Aaron J. Seigo
-------------- 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/20140914/edc197ad/attachment.sig>


More information about the kde-core-devel mailing list