From kde-devel Sat Dec 11 22:28:08 2004 From: David Faure Date: Sat, 11 Dec 2004 22:28:08 +0000 To: kde-devel Subject: Re: [PATCH] Allow/Deny some urls to be fetch in KHTMLPart Message-Id: <200412112328.08741.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=110280419723251 On Thursday 09 December 2004 17:29, David Faure wrote: > On Thursday 09 December 2004 17:22, John Tapsell wrote: > > "put here because KHTMLPartPrivate, is not initialiazed when plugins is > > called" > > > > Won't this break bc? > > That's correct, one can't add member variables to KHTMLPart. > > Also, I fixed that problem, and KHTMLPartPrivate is now initialized when plugins > are loaded, after a discussion on kfm-devel. Oh, I haven't committed that yet. > Ah, I remember why: it broke some kdeaddons konq plugins which suddenly > got a working parent widget instead of 0. But those are fixed now, so I'll commit. Maksim pointed out that this behavior change breaks existing plugins, so it might not be a good idea. If I revert it, can you check if simply using a single-shot timer like rellinks does, is enough to work around the problem? When the slot is called, the KHTMLPart will be fully initialized already. -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org). >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<