StatusBar in KMainWindow

Benjamin Meyer ben at meyerhome.net
Thu Mar 13 19:14:48 GMT 2003


On Thursday 13 March 2003 2:05 pm, Andras Mantia wrote:
> On 2003. March 13., Thursday 20:08, Benjamin Meyer wrote:
> > What is the difference between take() and remove()?  Again neither one is
> > documented.
>
> In KActionCollection both methods are obsolete.

oh?  And to think I just documented them.  What replaces them?  Take() 
actually deletes the KAction, so good thing I didn't call take() before 
delete();

> Ellis told me that it
> should be enough to use the ctor to add the action to a collection, and
> delete the action when you wish to remove it.

Nope as stated above in the thread you have to call unplugAll() before delete 
which is not in the docs.

-Benjamin Meyer




More information about the kde-core-devel mailing list