~ubuntu-branches/ubuntu/karmic/rosegarden/karmic

« back to all changes in this revision

Viewing changes to src/commands/notation/GraceCommand.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-05-02 00:33:44 UTC
  • mfrom: (1.1.7 upstream) (6.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080502003344-67vbfhgqx2yl0ksi
Tags: 1:1.7.0-1ubuntu1
* Merge from Debian unstable. (LP: #225849) Remaining Ubuntu changes:
  - Add usr/share/doc/kde/HTML to rosegarden-data, to provide online
    help documentation.
  - Change fftw3-dev to libfftw3-dev.
  - Update maintainer field as per spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    Rosegarden
5
5
    A MIDI and audio sequencer and musical notation editor.
6
6
 
7
 
    This program is Copyright 2000-2007
 
7
    This program is Copyright 2000-2008
8
8
        Guillaume Laurent   <glaurent@telegraph-road.org>,
9
9
        Chris Cannam        <cannam@all-day-breakfast.com>,
10
10
        Richard Bown        <richard.bown@ferventsoftware.com>
38
38
 
39
39
using namespace BaseProperties;
40
40
 
 
41
/*!!!
 
42
 
41
43
GraceCommand::GraceCommand(EventSelection &selection) :
42
44
        BasicCommand(getGlobalName(),
43
45
                     selection.getSegment(),
80
82
            i != m_selection->getSegmentEvents().end(); ++i) {
81
83
 
82
84
        if ((*i)->isa(Note::EventType)) {
83
 
            (*i)->set
84
 
            <Bool>(IS_GRACE_NOTE, true);
85
 
            (*i)->set
86
 
            <Int>(BEAMED_GROUP_ID, id);
87
 
            (*i)->set
88
 
            <String>(BEAMED_GROUP_TYPE, GROUP_TYPE_GRACE);
 
85
            (*i)->set<Bool>(IS_GRACE_NOTE, true);
 
86
            (*i)->set<Int>(BEAMED_GROUP_ID, id);
 
87
            (*i)->set<String>(BEAMED_GROUP_TYPE, GROUP_TYPE_GRACE);
89
88
        }
90
89
 
91
90
        if ((*i)->getAbsoluteTime() + (*i)->getDuration() >
111
110
    }
112
111
}
113
112
 
 
113
*/
 
114
 
114
115
}