diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-11-07 18:33:46 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-11-07 18:33:46 +0000 |
| commit | ade23a14a5b64bd2ddcf183abedd6b678efbc7da (patch) | |
| tree | e184e5b62a9536fb9356509a0787659249997ceb /src/object-set.h | |
| parent | Fix some bugs pointed by vlada (diff) | |
| parent | 1639832 Blend and blur unspected results (diff) | |
| download | inkscape-ade23a14a5b64bd2ddcf183abedd6b678efbc7da.tar.gz inkscape-ade23a14a5b64bd2ddcf183abedd6b678efbc7da.zip | |
Update to trunk
(bzr r15142.1.36)
Diffstat (limited to 'src/object-set.h')
| -rw-r--r-- | src/object-set.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/object-set.h b/src/object-set.h index 47a2efb9d..12f2cb101 100644 --- a/src/object-set.h +++ b/src/object-set.h @@ -330,7 +330,19 @@ public: void deleteItems(); void duplicate(bool suppressDone = false, bool duplicateLayer = false); void clone(); - void unlink(); + + /** + * @brief Unlink all directly selected clones. + * @param skip_undo If this is set to true the call to DocumentUndo::done is omitted. + * @return True if anything was unlinked, otherwise false. + */ + bool unlink(const bool skip_undo = false); + /** + * @brief Recursively unlink any clones present in the current selection, + * including clones which are used to clip other objects, groups of clones etc. + * @return true if anything was unlinked, otherwise false. + */ + bool unlinkRecursive(const bool skip_undo = false); void relink(); void cloneOriginal(); void cloneOriginalPathLPE(); @@ -376,7 +388,7 @@ public: void createBitmapCopy(); void setMask(bool apply_clip_path, bool apply_to_layer = false, bool skip_undo = false); void editMask(bool clip); - void unsetMask(bool apply_clip_path); + void unsetMask(const bool apply_clip_path, const bool skip_undo = false); void setClipGroup(); // moves |
