X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fprojectlist.h;h=6d1972b5243e0f0a17d75b27b0a108df3416e569;hb=ece1a2b9126f352a300fba31c1efbeff76dc3578;hp=0d1501715df56f078385a6aea6f554a1f77cf7c0;hpb=af7e3983a7f978402dbc525069cf301f5c5b24f8;p=kdenlive diff --git a/src/projectlist.h b/src/projectlist.h index 0d150171..6d1972b5 100644 --- a/src/projectlist.h +++ b/src/projectlist.h @@ -158,6 +158,7 @@ public: bool hasMissingClips(); void deleteProjectFolder(QMap map); void selectItemById(const QString &clipId); + /** @brief Returns a string list of all supported mime extensions. */ static QString getExtensions(); @@ -173,6 +174,7 @@ public slots: void slotRefreshClipThumbnail(QTreeWidgetItem *item, bool update = true); void slotRemoveInvalidClip(const QString &id, bool replace); void slotSelectClip(const QString &ix); + /** @brief Prepares removing the selected items. */ void slotRemoveClip(); void slotAddClip(const QList givenList = QList (), const QString &groupName = QString(), const QString &groupId = QString()); @@ -218,13 +220,18 @@ private: void requestClipInfo(const QDomElement xml, const QString id); QList m_thumbnailQueue; void requestClipThumbnail(const QString id); + /** @brief Creates an EditFolderCommand to change the name of an folder item. */ void editFolder(const QString folderName, const QString oldfolderName, const QString &clipId); + + /** @brief Gets the selected folder (or the folder of the selected item). */ QStringList getGroup() const; void regenerateTemplate(ProjectItem *clip); void editClipSelection(QList 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; @@ -238,8 +245,10 @@ private slots: * @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. */ void slotItemEdited(QTreeWidgetItem *item, int column); void slotUpdateClipProperties(ProjectItem *item, QMap properties);