Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

void KdenliveDoc::deleteGroupNode ( const QString &  name  ) 

Delete the named documentBaseNode

Definition at line 504 of file kdenlivedoc.cpp.

References findClipNode(), m_clipHierarch, and nodeDeleted().

{
    DocumentBaseNode *node = findClipNode(name);
    if (node && !node->hasChildren()) {
            m_clipHierarch->removeChild(node);
            emit nodeDeleted(node);
            delete node;
          } else {
            kdError() <<
                "Trying to delete group that has references in the document - "
                <<
                "must delete references first. Silently ignoring delete request"
                << endl;
    }
}


Generated by  Doxygen 1.6.0   Back to index