Logo Search packages:      
Sourcecode: kdenlive version File versions

int KdenliveDoc::hasSelectedClips (  )  const

Returns true if at least one clip in the project is selected.

Definition at line 428 of file kdenlivedoc.cpp.

References DocClipProject::hasSelectedClips(), and m_projectClip.

Referenced by TrackPanelKeyFrameFunction::mouseApplies(), TrackPanelSpacerFunction::mousePressed(), and moveSelectedClips().

{
    int result = 0;

    if (m_projectClip) {
      result = m_projectClip->hasSelectedClips();
    } else {
      kdError() <<
          "No selection in the project because m_projectClip is null!!"
          << endl;
    }
    return result;
}


Generated by  Doxygen 1.6.0   Back to index