+ void groupClips(bool group = true);
+ void doGroupClips(QList <ItemInfo> clipInfos, QList <ItemInfo> transitionInfos, bool group);
+ void loadGroups(const QDomNodeList groups);
+
+ /** @brief Creates SplitAudioCommands for selected clips. */
+ void splitAudio();
+
+ /** @brief Seperates the audio of a clip to a audio track.
+ * @param pos Position of the clip to split
+ * @param track Track of the clip
+ * @param split Split or unsplit */
+ void doSplitAudio(const GenTime &pos, int track, bool split);
+ void setVideoOnly();
+ void setAudioOnly();
+ void setAudioAndVideo();
+ void doChangeClipType(const GenTime &pos, int track, bool videoOnly, bool audioOnly);
+ int hasGuide(int pos, int offset);
+ void reloadTransitionLumas();
+ void updateProjectFps();
+ double fps() const;
+ int selectedTrack() const;
+ QStringList selectedClips() const;
+ QList<ClipItem *> selectedClipItems() const;
+
+ /** @brief Selects a clip.
+ * @param add Whether to select or deselect
+ * @param group (optional) Whether to add the clip to a group
+ * @param track (optional) The track of the clip (has to be combined with @param pos)
+ * @param pos (optional) The position of the clip (has to be combined with @param track) */
+ void selectClip(bool add, bool group = false, int track = -1, int pos = -1);
+ void selectTransition(bool add, bool group = false);
+ QStringList extractTransitionsLumas();
+ void setEditMode(EDITMODE mode);
+
+ /** @brief Inserts @param clip.
+ * @param clip The clip to insert
+ * @param in The inpoint of the clip (crop from start)
+ * @param out The outpoint of the clip (crop from end)
+ *
+ * Inserts at the position of timeline cursor and selected track. */
+ void insertClipCut(DocClipBase *clip, int in, int out);
+ void clearSelection();
+ void editItemDuration();
+ void buildGuidesMenu(QMenu *goMenu) const;
+ KPixmapCache* pixmapCache;
+ /** update the timeline objects when palette changes */
+ void updatePalette();
+ /** @brief Returns true if a track has audio data on it.
+ * @param track The track number
+ *
+ * Check whether given track has a clip with audio in it. */
+ bool hasAudio(int track) const;