[Kmymoney-devel] qApp->mainWidget()

Fernando Vilas fvilas at iname.com
Mon Sep 21 01:32:13 CEST 2009


Hi,

	I just committed the first pass at a port to KDE4 of the QIF module.  The only 
deprecated call warnings remaining are for qApp->mainWidget().  Has anyone 
resolved this one yet?

	I considered getting the list from QApplication::topLevelWidgets() and just 
using the first value returned, but I didn't find anything that promised the 
order of the results.

	Some other projects store the main widget in a static variable (we do too), 
for later reference.  The trouble is that this causes undefined references when 
building libconverter.  I can try to fix those, but I didn't want to introduce 
dependencies if I could avoid it.

Thoughts?

-- 
Thanks,
Fernando Vilas
fvilas at iname.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20090920/d1ce5ecb/attachment.sig 


More information about the KMyMoney-devel mailing list