[Qt-interest] Question regarding pointer parameters in functions

Andreas Pakulat apaku at gmx.de
Fri Jul 3 12:55:41 CEST 2009


On 03.07.09 12:24:53, Patric wrote:
> Is there a way to see which QT functions, that take pointers as
> parameters, are deleting the memory after that.

Usually the documentation states this explicitly if a certain function
is taking over the responsibility. For QObject-derived classes the
functions usually state explicitly if they reparent the given object unless
its clearly visible from the context that this is the case (for example
putting a widget into the layout of another widget).

Andreas

-- 
Today's weirdness is tomorrow's reason why.
		-- Hunter S. Thompson



More information about the Qt-interest-old mailing list