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

void Gui::KTimeLine::insertTrack ( int  index,
KTrackPanel track 
)

Inserts a track at the position specified by index

Definition at line 154 of file ktimeline.cpp.

References collapseTrack(), and m_trackList.

Referenced by appendTrack(), and Gui::KdenliveApp::slotSyncTimeLineWithDocument().

                                                              {
      assert(track);
      track->reparent(m_trackScroll->viewport(), 0, QPoint(0, 0), TRUE);
      m_trackScroll->addChild(track);
      connect(track, SIGNAL(collapseTrack(KTrackPanel *, bool)), this,
          SLOT(collapseTrack(KTrackPanel *, bool)));
      m_trackList.insert(index, track);
      resizeTracks();
    }


Generated by  Doxygen 1.6.0   Back to index