+ m_clipManager->slotAddClipFile(url, group, groupId);
+ setModified(true);
+}
+
+void KdenliveDoc::slotAddFolder(const QString folderName) {
+ AddFolderCommand *command = new AddFolderCommand(this, folderName, m_clipManager->getFreeClipId(), true);
+ commandStack()->push(command);
+ setModified(true);
+}
+
+void KdenliveDoc::slotDeleteFolder(const QString folderName, const int id) {
+ AddFolderCommand *command = new AddFolderCommand(this, folderName, id, false);
+ commandStack()->push(command);
+ setModified(true);
+}
+
+void KdenliveDoc::slotEditFolder(const QString newfolderName, const QString oldfolderName, int clipId) {
+ EditFolderCommand *command = new EditFolderCommand(this, newfolderName, oldfolderName, clipId, false);
+ commandStack()->push(command);
+ setModified(true);
+}
+
+int KdenliveDoc::getFreeClipId() {
+ return m_clipManager->getFreeClipId();