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

Public Member Functions | Protected Attributes | Private Attributes

Rosegarden::SegmentRecordCommand Class Reference

#include <SegmentRecordCommand.h>

Inheritance diagram for Rosegarden::SegmentRecordCommand:
Inheritance graph
Collaboration diagram for Rosegarden::SegmentRecordCommand:
Collaboration graph

List of all members.

Public Member Functions

virtual void execute ()
virtual QString getName () const
 SegmentRecordCommand (Segment *segment)
virtual void setName (QString name)
virtual void unexecute ()

Protected Attributes

QString m_name

Private Attributes

bool m_detached

Detailed Description

SegmentRecordCommand pretends to insert a Segment that is actually already in the Composition (the currently-being-recorded one). It's used at the end of recording, to ensure that GUI updates happen correctly, and it provides the ability to undo recording. (The unexecute does remove the segment, it doesn't just pretend to.)

Definition at line 41 of file SegmentRecordCommand.h.

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

Generated by  Doxygen 1.6.0   Back to index