KActionCollection::remove() obsoleted by what?

David Faure dfaure at trolltech.com
Sat Aug 30 16:45:10 BST 2003

On Saturday 30 August 2003 17:27, Waldo Bastian wrote:
> KActionCollection::remove() is marked as obsolete but there is no indication
> of what should be used instead. Just delete the action?

Yes, since ~KAction says:

    // If actionCollection hasn't already been destructed,
    if ( m_parentCollection ) {
        m_parentCollection->take( this );

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