X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Feditfoldercommand.h;h=96e9a3f1f776d0dfe010d54f832cddc6bd0dda34;hb=bd6f5761364b3a1dbae52787420054f486a75728;hp=87840ff5f204cef9677c5440d497c6dc942dc9c6;hpb=ddbfd46a476d99869653afc86a92f7450ca6583d;p=kdenlive diff --git a/src/editfoldercommand.h b/src/editfoldercommand.h index 87840ff5..96e9a3f1 100644 --- a/src/editfoldercommand.h +++ b/src/editfoldercommand.h @@ -23,20 +23,21 @@ #include -class KdenliveDoc; +class ProjectList; -class EditFolderCommand : public QUndoCommand { +class EditFolderCommand : public QUndoCommand +{ public: - EditFolderCommand(KdenliveDoc *doc, const QString newfolderName, const QString oldfolderName, int clipId, bool doIt); + EditFolderCommand(ProjectList *view, const QString newfolderName, const QString oldfolderName, 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_oldname; - int m_id; + QString m_id; bool m_doIt; };