[patch] ToolTip also in konq-ListView

David Faure faure at kde.org
Mon Nov 22 12:51:03 GMT 2004

On Monday 22 November 2004 10:12, Martin Koller wrote:
> On Monday 22 November 2004 09:55, Martin Koller wrote:
> >
> > (the bt shows qscrollview - seems that the timer event accesses a widget
> > which is no longer available)
> Fixed.
> I forgot to delete KonqFileTip in listviewwidgets destructor.
> But I have a question regarding this: why was the original KFileTip already 
> implemented in a way, that it has no parent object ?
> (The QFrame base ctor is called with 0 as parent)

Well it is a toplevel widget, it's not a child (visually) of the iconview. If you make it
a child widget, it won't be able to appear on top of other widgets (like toolbars etc.)

For memory management it was created and deleted by KonqIconViewWidgetPrivate, so
there was no leak.

David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

More information about the kde-core-devel mailing list