]> git.sesse.net Git - kdenlive/blobdiff - src/addfoldercommand.h
Get rid of buggy "drop B frame" speedup feature
[kdenlive] / src / addfoldercommand.h
index b7d4cc966a11ba4d66f82a84471a3aae5e9b1fd6..3028a18167624a3b9759c6d3afd11dea85c54ee9 100644 (file)
 
 #include <QUndoCommand>
 
-class KdenliveDoc;
+class ProjectList;
 
-class AddFolderCommand : public QUndoCommand {
+class AddFolderCommand : public QUndoCommand
+{
 public:
-    AddFolderCommand(KdenliveDoc *doc, const QString folderName, const QString &clipId, bool doIt);
+    AddFolderCommand(ProjectList *view, const QString folderName, const QString &clipId, bool doIt, QUndoCommand *parent = 0);
 
     virtual void undo();
     virtual void redo();
 
 private:
-    KdenliveDoc *m_doc;
+    ProjectList *m_view;
     QString m_name;
     QString m_id;
     bool m_doIt;