+ AbstractClipItem *getMainActiveClip() const;
+ /** @brief Rebuilds @param group to fit changes to it's childen. */
+ void rebuildGroup(AbstractGroupItem *group);
+ void resetSelectionGroup(bool selectItems = true);
+ void groupSelectedItems(bool force = false, bool createNewGroup = false);
+ /** Get available space for clip move (min and max free positions) */
+ void getClipAvailableSpace(AbstractClipItem *item, GenTime &minimum, GenTime &maximum);
+ /** Get available space for transition move (min and max free positions) */
+ void getTransitionAvailableSpace(AbstractClipItem *item, GenTime &minimum, GenTime &maximum);
+ void updateClipTypeActions(ClipItem *clip);
+ /** Whether an item can be moved to a new position without colliding with similar items */
+ bool itemCollision(AbstractClipItem *item, ItemInfo newPos);
+ /** Selects all items in the scene rect, and sets ok to false if a group going over several tracks is found in it */
+ QList<QGraphicsItem *> checkForGroups(const QRectF &rect, bool *ok);
+ /** Adjust clips under another one when working in overwrite mode */
+ void adjustTimelineClips(EDITMODE mode, ClipItem *item, ItemInfo posinfo, QUndoCommand *command);
+ void adjustTimelineTransitions(EDITMODE mode, Transition *item, QUndoCommand *command);
+ /** Adjust keyframes when pasted to another clip */
+ void adjustKeyfames(GenTime oldstart, GenTime newstart, GenTime duration, QDomElement xml);
+
+ /** @brief Removes the tip and stops the animation timer. */
+ void removeTipAnimation();
+ /** @brief Creates a new tip animation.
+ * @param clip clip to display the tip on
+ * @param mode operation mode for which the tip should be displayed
+ * @param size size of the tip */
+ void setTipAnimation(AbstractClipItem *clip, OPERATIONTYPE mode, const double size);
+
+ /** @brief Takes care of updating effects and attached transitions during a resize from start.
+ * @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);
+
+ /** @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);