diff options
author | Florian Jung <flo@windfisch.org> | 2011-09-09 15:55:09 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-09-09 15:55:09 +0000 |
commit | 38c5cccc7273247353264bb7dc97f42296d8e259 (patch) | |
tree | aa148b85e0169c6a10a680678ad7bdb8aec62b5d /muse2/muse/functions.h | |
parent | b95aeb4245e9bc6e67df6cd489c5f29192c962cf (diff) |
began with improved pasting in editors
still TODO: - show a dialog
- test it
- add generated parts to editor automatically
Diffstat (limited to 'muse2/muse/functions.h')
-rw-r--r-- | muse2/muse/functions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/functions.h b/muse2/muse/functions.h index 1d3233b7..cc2768cb 100644 --- a/muse2/muse/functions.h +++ b/muse2/muse/functions.h @@ -69,9 +69,9 @@ bool legato(); //functions for copy'n'paste void copy_notes(const std::set<Part*>& parts, int range); -void paste_notes(Part* dest_part); +void paste_notes(int max_distance=3072, bool always_new_part=false, bool never_new_part=false, Part* paste_into_part=NULL); QMimeData* selected_events_to_mime(const std::set<Part*>& parts, int range); -void paste_at(Part* dest_part, const QString& pt, int pos); +void paste_at(const QString& pt, int pos, int max_distance=3072, bool always_new_part=false, bool never_new_part=false, Part* paste_into_part=NULL); //functions for selections void select_all(const std::set<Part*>& parts); |