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

Rosegarden::SegmentResizeFromStartCommand Class Reference

#include <SegmentResizeFromStartCommand.h>

Inheritance diagram for Rosegarden::SegmentResizeFromStartCommand:


List of all members.

Detailed Description

SegmentResizeFromStartCommand moves the start time of a segment leaving the events in it at the same absolute times as before, so padding with rests or deleting events as appropriate. (Distinct from Segment::setStartTime, as used by SegmentReconfigureCommand, which moves all the events in the segment.) Not for use on audio segments (see AudioSegmentResizeFromStartCommand).

Definition at line 42 of file SegmentResizeFromStartCommand.h.

Public Member Functions

virtual void execute ()
timeT getEndTime ()
virtual timeT getRelayoutEndTime ()
virtual Segment & getSegment ()
timeT getStartTime ()
 SegmentResizeFromStartCommand (Segment *segment, timeT newStartTime)
virtual void unexecute ()

Protected Member Functions

virtual void beginExecute ()
virtual void modifySegment ()

Private Attributes

timeT m_newStartTime
timeT m_oldStartTime
Segment * m_segment

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index