[Patch] Re: KDockWidget'S
Andreas Zehender
zehender at kde.org
Tue Sep 10 18:38:05 BST 2002
Hi!
On Tuesday 10 September 2002 19:12, Lubos Lunak wrote:
> I guess we need a new rule in the keep-BC paper, saying that classes
> willing to stay BC shouldn't have inline destructor.
>
> You can destroy the private data by inheriting class
> KDockWidgetHeader::KDockWidgetHeaderPrivate from QObject and passing the
> KDockWidgetHeader instance that created it as its parent (so it will delete
> it automatically). *shrug*
>
> BTW, if you want, you can just use KDockWidgetHeaderPrivate instead of
> KDockWidgetHeader::KDockWidgetHeaderPrivate , if you move the forward
> declaration out of the class (lazy people ... including me :-/ ). It won't
> break BC, the 'd' member is just a pointer.
This new patch fixes the inline constructor issue and should be now fully
binary conpatible.
Can I commit?
--
--------------------------------------------------
Andreas Zehender, Dipl. Ing. (BA)
Student, 10th semester computer science
http://www.azweb.de
az at azweb.de | zehender at kde.org
--------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dockwidget.patch
Type: text/x-diff
Size: 4211 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020910/e31429a9/attachment.patch>
More information about the kde-core-devel
mailing list