]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackview.h
Resize all items in a group at once (from end only for now; dragging from start will...
[kdenlive] / src / customtrackview.h
index 7ee271d300a8eb247f0636df2689c9ca714c9f32..50ad4932e73bfc160228a80092fc79e075278384 100644 (file)
@@ -338,15 +338,17 @@ private:
     * @param item Item to resize
     * @param oldInfo The item's info before resizement (set to item->info() is @param check true)
     * @param pos New startPos
-    * @param check (optional, default = false) Whether to check for collisions */
-    void prepareResizeClipStart(AbstractClipItem *item, ItemInfo oldInfo, int pos, bool check = false);
+    * @param check (optional, default = false) Whether to check for collisions
+    * @param command (optional) Will be used as parent command (for undo history) */
+    void prepareResizeClipStart(AbstractClipItem *item, ItemInfo oldInfo, int pos, bool check = false, QUndoCommand *command = NULL);
 
     /** @brief Takes care of updating effects and attached transitions during a resize from end.
     * @param item Item to resize
     * @param oldInfo The item's info before resizement (set to item->info() is @param check true)
     * @param pos New endPos
-    * @param check (optional, default = false) Whether to check for collisions */
-    void prepareResizeClipEnd(AbstractClipItem *item, ItemInfo oldInfo, int pos, bool check = false);
+    * @param check (optional, default = false) Whether to check for collisions
+    * @param command (optional) Will be used as parent command (for undo history) */
+    void prepareResizeClipEnd(AbstractClipItem *item, ItemInfo oldInfo, int pos, bool check = false, QUndoCommand *command = NULL);
 
 private slots:
     void slotRefreshGuides();