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

void KdenliveDoc::connectProjectClip (  )  [private]

Connects the various project clip signals/slots up to the document. This should be done whenever a new document project clip is created.

Definition at line 415 of file kdenlivedoc.cpp.

References clipReferenceChanged(), documentChanged(), documentLengthChanged(), effectStackChanged(), hasBeenModified(), m_projectClip, signalClipSelected(), slotDeleteClipTransition(), and trackListChanged().

Referenced by KdenliveDoc().

{
    connect(m_projectClip, SIGNAL(trackListChanged()), this,
      SIGNAL(trackListChanged()));
    connect(m_projectClip, SIGNAL(signalClipSelected(DocClipRef *)), this,
      SIGNAL(signalClipSelected(DocClipRef *)));
    connect(m_projectClip, SIGNAL(signalOpenClip(DocClipRef *)), this,
      SIGNAL(signalOpenClip(DocClipRef *)));
    connect(m_projectClip, SIGNAL(effectStackChanged(DocClipRef *)), this,
      SIGNAL(effectStackChanged(DocClipRef *)));
    connect(m_projectClip, SIGNAL(projectLengthChanged(const GenTime &)),
      this, SIGNAL(documentLengthChanged(const GenTime &)));
    connect(m_projectClip, SIGNAL(documentChanged(DocClipBase *)),
            this, SIGNAL(documentChanged(DocClipBase *)));
    
    connect(m_projectClip, SIGNAL(deletedClipTransition()),
            this, SLOT(slotDeleteClipTransition()));

    connect(m_projectClip, SIGNAL(clipReferenceChanged()),
            this, SIGNAL(clipReferenceChanged()));

// Commented out following line, causes multiple unnecessary refreshes - jbm, 26/12/05 
    connect(m_projectClip, SIGNAL(clipLayoutChanged()), this, SLOT(hasBeenModified()));
    //connect(m_projectClip, SIGNAL(effectStackChanged(DocClipRef *)), this, SLOT(hasBeenModified()));
}


Generated by  Doxygen 1.6.0   Back to index