]> git.sesse.net Git - kdenlive/blobdiff - src/projectlist.h
- Fix split audio with locked audio tracks
[kdenlive] / src / projectlist.h
index 6b38f01a7b8d02446dd0857e73625f7b9a3278b1..376c9c60c5183108e756ae749dc8cfb29a117543 100644 (file)
@@ -174,6 +174,7 @@ public slots:
     /** @brief Prepares removing the selected items. */
     void slotRemoveClip();
     void slotAddClip(const QList <QUrl> givenList = QList <QUrl> (), const QString &groupName = QString(), const QString &groupId = QString());
+
     /** @brief Adds, edits or deletes a folder item.
     *
     * This is triggered by AddFolderCommand and EditFolderCommand. */
@@ -218,6 +219,7 @@ private:
     QStringList getGroup() const;
     void regenerateTemplate(ProjectItem *clip);
     void editClipSelection(QList<QTreeWidgetItem *> list);
+    /** @brief Enables and disables transcode actions based on the selected clip's type. */
     void adjustTranscodeActions(ProjectItem *clip) const;
     /** @brief Sets the buttons enabled/disabled according to selected item. */
     void updateButtons() const;
@@ -227,7 +229,11 @@ private slots:
     void slotAddSlideshowClip();
     void slotAddTitleClip();
     void slotAddTitleTemplateClip();
-    void slotContextMenu(const QPoint &pos, QTreeWidgetItem *);
+
+    /** @brief Shows the context menu after enabling and disabling actions based on the item's type.
+    * @param pos The position where the menu should pop up
+    * @param item The item for which the checks should be done */
+    void slotContextMenu(const QPoint &pos, QTreeWidgetItem *item);
     /** @brief Creates an AddFolderCommand. */
     void slotAddFolder();
     /** @brief This is triggered when a clip description has been modified. */