From: Alberto Villa Date: Tue, 8 Nov 2011 10:20:20 +0000 (+0100) Subject: Move undo commands to their own subdirectory X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e0a70e0428309070f6ed2716beaeaaba05edd3b5;p=kdenlive Move undo commands to their own subdirectory --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 16eab784..1d7b2b3d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,6 +6,7 @@ add_subdirectory(onmonitoritems) add_subdirectory(rotoscoping) add_subdirectory(widgets) add_subdirectory(databackup) +add_subdirectory(commands) macro_optional_find_package(Nepomuk) macro_optional_find_package(QJSON) @@ -131,7 +132,6 @@ kde4_add_ui_files(kdenlive_UI set(kdenlive_SRCS ${kdenlive_SRCS} - addclipcommand.cpp main.cpp mainwindow.cpp customruler.cpp @@ -150,19 +150,11 @@ set(kdenlive_SRCS headertrack.cpp customtrackview.cpp clipitem.cpp - moveclipcommand.cpp - resizeclipcommand.cpp - razorclipcommand.cpp - addtimelineclipcommand.cpp - addmarkercommand.cpp kthumb.cpp clipmanager.cpp effectslist.cpp initeffects.cpp effectslistview.cpp - addeffectcommand.cpp - editeffectcommand.cpp - moveeffectcommand.cpp effectstackview.cpp effectstackedit.cpp parameterplotter.cpp @@ -180,38 +172,22 @@ set(kdenlive_SRCS abstractclipitem.cpp transitionsettings.cpp recmonitor.cpp - addtransitioncommand.cpp - edittransitioncommand.cpp - addfoldercommand.cpp - editfoldercommand.cpp clipproperties.cpp - movetransitioncommand.cpp slideshowclip.cpp markerdialog.cpp guide.cpp - editguidecommand.cpp statusbarmessagelabel.cpp - editkeyframecommand.cpp clipdurationdialog.cpp managecapturesdialog.cpp - changespeedcommand.cpp geometryval.cpp wizard.cpp customtrackscene.cpp abstractgroupitem.cpp keyframehelper.cpp - editclipcommand.cpp - insertspacecommand.cpp spacerdialog.cpp - addtrackcommand.cpp - movegroupcommand.cpp dvdwizardvob.cpp dvdwizardmenu.cpp dvdwizard.cpp - locktrackcommand.cpp - groupclipscommand.cpp - splitaudiocommand.cpp - changecliptypecommand.cpp documentchecker.cpp dvdwizardchapters.cpp documentvalidator.cpp @@ -221,20 +197,16 @@ set(kdenlive_SRCS trackdialog.cpp subprojectitem.cpp folderprojectitem.cpp - addclipcutcommand.cpp - editclipcutcommand.cpp KoSliderCombo.cpp kis_cubic_curve.cpp kis_curve_widget.cpp timecodedisplay.cpp tracksconfigdialog.cpp - configtrackscommand.cpp abstractscopewidget.cpp audioscopes/abstractaudioscopewidget.cpp audioscopes/audiospectrum.cpp audioscopes/spectrogram.cpp audioscopes/ffttools.cpp - rebuildgroupcommand.cpp colorscopes/abstractgfxscopewidget.cpp colorscopes/histogram.cpp colorscopes/rgbparade.cpp @@ -246,7 +218,6 @@ set(kdenlive_SRCS colorcorrection/rgbparadegenerator.cpp colorcorrection/vectorscopegenerator.cpp colorcorrection/waveformgenerator.cpp - razorgroupcommand.cpp colorpickerwidget.cpp choosecolorwidget.cpp monitorscene.cpp diff --git a/src/clipmanager.cpp b/src/clipmanager.cpp index ef169205..4c7db587 100644 --- a/src/clipmanager.cpp +++ b/src/clipmanager.cpp @@ -19,7 +19,7 @@ #include "clipmanager.h" -#include "addclipcommand.h" +#include "commands/addclipcommand.h" #include "kdenlivesettings.h" #include "docclipbase.h" #include "kdenlivedoc.h" diff --git a/src/commands/CMakeLists.txt b/src/commands/CMakeLists.txt new file mode 100644 index 00000000..e6cf61eb --- /dev/null +++ b/src/commands/CMakeLists.txt @@ -0,0 +1,34 @@ +set(kdenlive_SRCS + ${kdenlive_SRCS} + commands/addclipcommand.cpp + commands/addclipcutcommand.cpp + commands/addeffectcommand.cpp + commands/addfoldercommand.cpp + commands/addmarkercommand.cpp + commands/addtimelineclipcommand.cpp + commands/addtrackcommand.cpp + commands/addtransitioncommand.cpp + commands/changecliptypecommand.cpp + commands/changespeedcommand.cpp + commands/configtrackscommand.cpp + commands/editclipcommand.cpp + commands/editclipcutcommand.cpp + commands/editeffectcommand.cpp + commands/editfoldercommand.cpp + commands/editguidecommand.cpp + commands/editkeyframecommand.cpp + commands/edittransitioncommand.cpp + commands/groupclipscommand.cpp + commands/insertspacecommand.cpp + commands/locktrackcommand.cpp + commands/moveclipcommand.cpp + commands/moveeffectcommand.cpp + commands/movegroupcommand.cpp + commands/movetransitioncommand.cpp + commands/razorclipcommand.cpp + commands/razorgroupcommand.cpp + commands/rebuildgroupcommand.cpp + commands/resizeclipcommand.cpp + commands/splitaudiocommand.cpp + PARENT_SCOPE +) diff --git a/src/addclipcommand.cpp b/src/commands/addclipcommand.cpp similarity index 98% rename from src/addclipcommand.cpp rename to src/commands/addclipcommand.cpp index 44df4d5b..5e15f6c3 100644 --- a/src/addclipcommand.cpp +++ b/src/commands/addclipcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "addclipcommand.h" +#include "commands/addclipcommand.h" #include "kdenlivedoc.h" #include diff --git a/src/addclipcommand.h b/src/commands/addclipcommand.h similarity index 100% rename from src/addclipcommand.h rename to src/commands/addclipcommand.h diff --git a/src/addclipcutcommand.cpp b/src/commands/addclipcutcommand.cpp similarity index 98% rename from src/addclipcutcommand.cpp rename to src/commands/addclipcutcommand.cpp index d5bf0829..3dbca234 100644 --- a/src/addclipcutcommand.cpp +++ b/src/commands/addclipcutcommand.cpp @@ -17,7 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ -#include "addclipcutcommand.h" +#include "commands/addclipcutcommand.h" #include "projectlist.h" #include diff --git a/src/addclipcutcommand.h b/src/commands/addclipcutcommand.h similarity index 100% rename from src/addclipcutcommand.h rename to src/commands/addclipcutcommand.h diff --git a/src/addeffectcommand.cpp b/src/commands/addeffectcommand.cpp similarity index 98% rename from src/addeffectcommand.cpp rename to src/commands/addeffectcommand.cpp index 5e09957c..c7c92c69 100644 --- a/src/addeffectcommand.cpp +++ b/src/commands/addeffectcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "addeffectcommand.h" +#include "commands/addeffectcommand.h" #include "customtrackview.h" #include diff --git a/src/addeffectcommand.h b/src/commands/addeffectcommand.h similarity index 100% rename from src/addeffectcommand.h rename to src/commands/addeffectcommand.h diff --git a/src/addfoldercommand.cpp b/src/commands/addfoldercommand.cpp similarity index 98% rename from src/addfoldercommand.cpp rename to src/commands/addfoldercommand.cpp index b5146d96..b481ec0a 100644 --- a/src/addfoldercommand.cpp +++ b/src/commands/addfoldercommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "addfoldercommand.h" +#include "commands/addfoldercommand.h" #include "projectlist.h" #include diff --git a/src/addfoldercommand.h b/src/commands/addfoldercommand.h similarity index 100% rename from src/addfoldercommand.h rename to src/commands/addfoldercommand.h diff --git a/src/addmarkercommand.cpp b/src/commands/addmarkercommand.cpp similarity index 97% rename from src/addmarkercommand.cpp rename to src/commands/addmarkercommand.cpp index bc6d7320..3d671e59 100644 --- a/src/addmarkercommand.cpp +++ b/src/commands/addmarkercommand.cpp @@ -16,7 +16,7 @@ ***************************************************************************/ -#include "addmarkercommand.h" +#include "commands/addmarkercommand.h" #include "customtrackview.h" #include diff --git a/src/addmarkercommand.h b/src/commands/addmarkercommand.h similarity index 100% rename from src/addmarkercommand.h rename to src/commands/addmarkercommand.h diff --git a/src/addtimelineclipcommand.cpp b/src/commands/addtimelineclipcommand.cpp similarity index 98% rename from src/addtimelineclipcommand.cpp rename to src/commands/addtimelineclipcommand.cpp index 3a13ad54..3a790462 100644 --- a/src/addtimelineclipcommand.cpp +++ b/src/commands/addtimelineclipcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "addtimelineclipcommand.h" +#include "commands/addtimelineclipcommand.h" #include "customtrackview.h" #include diff --git a/src/addtimelineclipcommand.h b/src/commands/addtimelineclipcommand.h similarity index 100% rename from src/addtimelineclipcommand.h rename to src/commands/addtimelineclipcommand.h diff --git a/src/addtrackcommand.cpp b/src/commands/addtrackcommand.cpp similarity index 98% rename from src/addtrackcommand.cpp rename to src/commands/addtrackcommand.cpp index fa8b5692..962f018b 100644 --- a/src/addtrackcommand.cpp +++ b/src/commands/addtrackcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "addtrackcommand.h" +#include "commands/addtrackcommand.h" #include "customtrackview.h" #include diff --git a/src/addtrackcommand.h b/src/commands/addtrackcommand.h similarity index 100% rename from src/addtrackcommand.h rename to src/commands/addtrackcommand.h diff --git a/src/addtransitioncommand.cpp b/src/commands/addtransitioncommand.cpp similarity index 98% rename from src/addtransitioncommand.cpp rename to src/commands/addtransitioncommand.cpp index c8acc6dc..2e44de91 100644 --- a/src/addtransitioncommand.cpp +++ b/src/commands/addtransitioncommand.cpp @@ -16,7 +16,7 @@ ***************************************************************************/ -#include "addtransitioncommand.h" +#include "commands/addtransitioncommand.h" #include "customtrackview.h" #include diff --git a/src/addtransitioncommand.h b/src/commands/addtransitioncommand.h similarity index 100% rename from src/addtransitioncommand.h rename to src/commands/addtransitioncommand.h diff --git a/src/changecliptypecommand.cpp b/src/commands/changecliptypecommand.cpp similarity index 98% rename from src/changecliptypecommand.cpp rename to src/commands/changecliptypecommand.cpp index 5df821af..ea539f07 100644 --- a/src/changecliptypecommand.cpp +++ b/src/commands/changecliptypecommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "changecliptypecommand.h" +#include "commands/changecliptypecommand.h" #include "customtrackview.h" #include diff --git a/src/changecliptypecommand.h b/src/commands/changecliptypecommand.h similarity index 100% rename from src/changecliptypecommand.h rename to src/commands/changecliptypecommand.h diff --git a/src/changespeedcommand.cpp b/src/commands/changespeedcommand.cpp similarity index 98% rename from src/changespeedcommand.cpp rename to src/commands/changespeedcommand.cpp index f775c681..d671a874 100644 --- a/src/changespeedcommand.cpp +++ b/src/commands/changespeedcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "changespeedcommand.h" +#include "commands/changespeedcommand.h" #include "customtrackview.h" #include diff --git a/src/changespeedcommand.h b/src/commands/changespeedcommand.h similarity index 100% rename from src/changespeedcommand.h rename to src/commands/changespeedcommand.h diff --git a/src/configtrackscommand.cpp b/src/commands/configtrackscommand.cpp similarity index 97% rename from src/configtrackscommand.cpp rename to src/commands/configtrackscommand.cpp index f034edde..18e5c123 100644 --- a/src/configtrackscommand.cpp +++ b/src/commands/configtrackscommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "configtrackscommand.h" +#include "commands/configtrackscommand.h" #include "customtrackview.h" diff --git a/src/configtrackscommand.h b/src/commands/configtrackscommand.h similarity index 100% rename from src/configtrackscommand.h rename to src/commands/configtrackscommand.h diff --git a/src/editclipcommand.cpp b/src/commands/editclipcommand.cpp similarity index 98% rename from src/editclipcommand.cpp rename to src/commands/editclipcommand.cpp index d65acfc5..ecbc3f6b 100644 --- a/src/editclipcommand.cpp +++ b/src/commands/editclipcommand.cpp @@ -17,7 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ -#include "editclipcommand.h" +#include "commands/editclipcommand.h" #include "projectlist.h" #include diff --git a/src/editclipcommand.h b/src/commands/editclipcommand.h similarity index 100% rename from src/editclipcommand.h rename to src/commands/editclipcommand.h diff --git a/src/editclipcutcommand.cpp b/src/commands/editclipcutcommand.cpp similarity index 98% rename from src/editclipcutcommand.cpp rename to src/commands/editclipcutcommand.cpp index b6708f81..ecc07d49 100644 --- a/src/editclipcutcommand.cpp +++ b/src/commands/editclipcutcommand.cpp @@ -17,7 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ -#include "editclipcutcommand.h" +#include "commands/editclipcutcommand.h" #include "projectlist.h" #include diff --git a/src/editclipcutcommand.h b/src/commands/editclipcutcommand.h similarity index 100% rename from src/editclipcutcommand.h rename to src/commands/editclipcutcommand.h diff --git a/src/editeffectcommand.cpp b/src/commands/editeffectcommand.cpp similarity index 98% rename from src/editeffectcommand.cpp rename to src/commands/editeffectcommand.cpp index b6a98145..5c2e9ae8 100644 --- a/src/editeffectcommand.cpp +++ b/src/commands/editeffectcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "editeffectcommand.h" +#include "commands/editeffectcommand.h" #include "customtrackview.h" #include diff --git a/src/editeffectcommand.h b/src/commands/editeffectcommand.h similarity index 100% rename from src/editeffectcommand.h rename to src/commands/editeffectcommand.h diff --git a/src/editfoldercommand.cpp b/src/commands/editfoldercommand.cpp similarity index 98% rename from src/editfoldercommand.cpp rename to src/commands/editfoldercommand.cpp index 6dbcd7fc..6e15c8c5 100644 --- a/src/editfoldercommand.cpp +++ b/src/commands/editfoldercommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "editfoldercommand.h" +#include "commands/editfoldercommand.h" #include "projectlist.h" #include diff --git a/src/editfoldercommand.h b/src/commands/editfoldercommand.h similarity index 100% rename from src/editfoldercommand.h rename to src/commands/editfoldercommand.h diff --git a/src/editguidecommand.cpp b/src/commands/editguidecommand.cpp similarity index 98% rename from src/editguidecommand.cpp rename to src/commands/editguidecommand.cpp index 20933a3c..b5f837fe 100644 --- a/src/editguidecommand.cpp +++ b/src/commands/editguidecommand.cpp @@ -16,7 +16,7 @@ ***************************************************************************/ -#include "editguidecommand.h" +#include "commands/editguidecommand.h" #include "customtrackview.h" #include diff --git a/src/editguidecommand.h b/src/commands/editguidecommand.h similarity index 100% rename from src/editguidecommand.h rename to src/commands/editguidecommand.h diff --git a/src/editkeyframecommand.cpp b/src/commands/editkeyframecommand.cpp similarity index 98% rename from src/editkeyframecommand.cpp rename to src/commands/editkeyframecommand.cpp index 29c341ca..19e9753c 100644 --- a/src/editkeyframecommand.cpp +++ b/src/commands/editkeyframecommand.cpp @@ -16,7 +16,7 @@ ***************************************************************************/ -#include "editkeyframecommand.h" +#include "commands/editkeyframecommand.h" #include "customtrackview.h" #include diff --git a/src/editkeyframecommand.h b/src/commands/editkeyframecommand.h similarity index 100% rename from src/editkeyframecommand.h rename to src/commands/editkeyframecommand.h diff --git a/src/edittransitioncommand.cpp b/src/commands/edittransitioncommand.cpp similarity index 98% rename from src/edittransitioncommand.cpp rename to src/commands/edittransitioncommand.cpp index dd3afe7d..6ba38a1d 100644 --- a/src/edittransitioncommand.cpp +++ b/src/commands/edittransitioncommand.cpp @@ -15,7 +15,7 @@ * * ***************************************************************************/ -#include "edittransitioncommand.h" +#include "commands/edittransitioncommand.h" #include "customtrackview.h" #include diff --git a/src/edittransitioncommand.h b/src/commands/edittransitioncommand.h similarity index 100% rename from src/edittransitioncommand.h rename to src/commands/edittransitioncommand.h diff --git a/src/groupclipscommand.cpp b/src/commands/groupclipscommand.cpp similarity index 98% rename from src/groupclipscommand.cpp rename to src/commands/groupclipscommand.cpp index 77010c16..c7a5d7d2 100644 --- a/src/groupclipscommand.cpp +++ b/src/commands/groupclipscommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "groupclipscommand.h" +#include "commands/groupclipscommand.h" #include "customtrackview.h" #include diff --git a/src/groupclipscommand.h b/src/commands/groupclipscommand.h similarity index 100% rename from src/groupclipscommand.h rename to src/commands/groupclipscommand.h diff --git a/src/insertspacecommand.cpp b/src/commands/insertspacecommand.cpp similarity index 98% rename from src/insertspacecommand.cpp rename to src/commands/insertspacecommand.cpp index 7802a82b..7a485fd3 100644 --- a/src/insertspacecommand.cpp +++ b/src/commands/insertspacecommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "insertspacecommand.h" +#include "commands/insertspacecommand.h" #include "customtrackview.h" #include diff --git a/src/insertspacecommand.h b/src/commands/insertspacecommand.h similarity index 100% rename from src/insertspacecommand.h rename to src/commands/insertspacecommand.h diff --git a/src/locktrackcommand.cpp b/src/commands/locktrackcommand.cpp similarity index 97% rename from src/locktrackcommand.cpp rename to src/commands/locktrackcommand.cpp index 8b35773b..be5c31fb 100644 --- a/src/locktrackcommand.cpp +++ b/src/commands/locktrackcommand.cpp @@ -17,7 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ -#include "locktrackcommand.h" +#include "commands/locktrackcommand.h" #include "customtrackview.h" #include diff --git a/src/locktrackcommand.h b/src/commands/locktrackcommand.h similarity index 100% rename from src/locktrackcommand.h rename to src/commands/locktrackcommand.h diff --git a/src/moveclipcommand.cpp b/src/commands/moveclipcommand.cpp similarity index 98% rename from src/moveclipcommand.cpp rename to src/commands/moveclipcommand.cpp index 659c09fa..aa145751 100644 --- a/src/moveclipcommand.cpp +++ b/src/commands/moveclipcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "moveclipcommand.h" +#include "commands/moveclipcommand.h" #include "customtrackview.h" #include diff --git a/src/moveclipcommand.h b/src/commands/moveclipcommand.h similarity index 100% rename from src/moveclipcommand.h rename to src/commands/moveclipcommand.h diff --git a/src/moveeffectcommand.cpp b/src/commands/moveeffectcommand.cpp similarity index 98% rename from src/moveeffectcommand.cpp rename to src/commands/moveeffectcommand.cpp index ba87dc3d..5c756ed9 100644 --- a/src/moveeffectcommand.cpp +++ b/src/commands/moveeffectcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "moveeffectcommand.h" +#include "commands/moveeffectcommand.h" #include "customtrackview.h" #include diff --git a/src/moveeffectcommand.h b/src/commands/moveeffectcommand.h similarity index 100% rename from src/moveeffectcommand.h rename to src/commands/moveeffectcommand.h diff --git a/src/movegroupcommand.cpp b/src/commands/movegroupcommand.cpp similarity index 98% rename from src/movegroupcommand.cpp rename to src/commands/movegroupcommand.cpp index f22bdc95..f4b467c6 100644 --- a/src/movegroupcommand.cpp +++ b/src/commands/movegroupcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "movegroupcommand.h" +#include "commands/movegroupcommand.h" #include "customtrackview.h" #include diff --git a/src/movegroupcommand.h b/src/commands/movegroupcommand.h similarity index 100% rename from src/movegroupcommand.h rename to src/commands/movegroupcommand.h diff --git a/src/movetransitioncommand.cpp b/src/commands/movetransitioncommand.cpp similarity index 97% rename from src/movetransitioncommand.cpp rename to src/commands/movetransitioncommand.cpp index f825ed77..9363a0e0 100644 --- a/src/movetransitioncommand.cpp +++ b/src/commands/movetransitioncommand.cpp @@ -15,7 +15,7 @@ * * ***************************************************************************/ -#include "movetransitioncommand.h" +#include "commands/movetransitioncommand.h" #include "customtrackview.h" #include diff --git a/src/movetransitioncommand.h b/src/commands/movetransitioncommand.h similarity index 100% rename from src/movetransitioncommand.h rename to src/commands/movetransitioncommand.h diff --git a/src/razorclipcommand.cpp b/src/commands/razorclipcommand.cpp similarity index 98% rename from src/razorclipcommand.cpp rename to src/commands/razorclipcommand.cpp index 023f39f8..d3b8a5cd 100644 --- a/src/razorclipcommand.cpp +++ b/src/commands/razorclipcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "razorclipcommand.h" +#include "commands/razorclipcommand.h" #include "customtrackview.h" #include diff --git a/src/razorclipcommand.h b/src/commands/razorclipcommand.h similarity index 100% rename from src/razorclipcommand.h rename to src/commands/razorclipcommand.h diff --git a/src/razorgroupcommand.cpp b/src/commands/razorgroupcommand.cpp similarity index 98% rename from src/razorgroupcommand.cpp rename to src/commands/razorgroupcommand.cpp index e419761b..c918df72 100644 --- a/src/razorgroupcommand.cpp +++ b/src/commands/razorgroupcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "razorgroupcommand.h" +#include "commands/razorgroupcommand.h" #include "customtrackview.h" RazorGroupCommand::RazorGroupCommand(CustomTrackView *view, QList clips1, QList transitions1, QList clipsCut, QList transitionsCut, QList clips2, QList transitions2, GenTime cutPos, QUndoCommand * parent) : diff --git a/src/razorgroupcommand.h b/src/commands/razorgroupcommand.h similarity index 100% rename from src/razorgroupcommand.h rename to src/commands/razorgroupcommand.h diff --git a/src/rebuildgroupcommand.cpp b/src/commands/rebuildgroupcommand.cpp similarity index 97% rename from src/rebuildgroupcommand.cpp rename to src/commands/rebuildgroupcommand.cpp index 69a276cb..892b614d 100644 --- a/src/rebuildgroupcommand.cpp +++ b/src/commands/rebuildgroupcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "rebuildgroupcommand.h" +#include "commands/rebuildgroupcommand.h" #include "customtrackview.h" RebuildGroupCommand::RebuildGroupCommand(CustomTrackView* view, int childTrack, GenTime childPos, QUndoCommand* parent) : diff --git a/src/rebuildgroupcommand.h b/src/commands/rebuildgroupcommand.h similarity index 100% rename from src/rebuildgroupcommand.h rename to src/commands/rebuildgroupcommand.h diff --git a/src/resizeclipcommand.cpp b/src/commands/resizeclipcommand.cpp similarity index 98% rename from src/resizeclipcommand.cpp rename to src/commands/resizeclipcommand.cpp index 9cde2c4b..ca0689de 100644 --- a/src/resizeclipcommand.cpp +++ b/src/commands/resizeclipcommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "resizeclipcommand.h" +#include "commands/resizeclipcommand.h" #include "customtrackview.h" #include diff --git a/src/resizeclipcommand.h b/src/commands/resizeclipcommand.h similarity index 100% rename from src/resizeclipcommand.h rename to src/commands/resizeclipcommand.h diff --git a/src/splitaudiocommand.cpp b/src/commands/splitaudiocommand.cpp similarity index 97% rename from src/splitaudiocommand.cpp rename to src/commands/splitaudiocommand.cpp index cfe3aef0..cb955989 100644 --- a/src/splitaudiocommand.cpp +++ b/src/commands/splitaudiocommand.cpp @@ -18,7 +18,7 @@ ***************************************************************************/ -#include "splitaudiocommand.h" +#include "commands/splitaudiocommand.h" #include "customtrackview.h" #include diff --git a/src/splitaudiocommand.h b/src/commands/splitaudiocommand.h similarity index 100% rename from src/splitaudiocommand.h rename to src/commands/splitaudiocommand.h diff --git a/src/customtrackview.cpp b/src/customtrackview.cpp index 052d1efc..35b11c21 100644 --- a/src/customtrackview.cpp +++ b/src/customtrackview.cpp @@ -22,20 +22,20 @@ #include "docclipbase.h" #include "clipitem.h" #include "definitions.h" -#include "moveclipcommand.h" -#include "movetransitioncommand.h" -#include "resizeclipcommand.h" -#include "editguidecommand.h" -#include "addtimelineclipcommand.h" -#include "addeffectcommand.h" -#include "editeffectcommand.h" -#include "moveeffectcommand.h" -#include "addtransitioncommand.h" -#include "edittransitioncommand.h" -#include "editkeyframecommand.h" -#include "changespeedcommand.h" -#include "addmarkercommand.h" -#include "razorclipcommand.h" +#include "commands/moveclipcommand.h" +#include "commands/movetransitioncommand.h" +#include "commands/resizeclipcommand.h" +#include "commands/editguidecommand.h" +#include "commands/addtimelineclipcommand.h" +#include "commands/addeffectcommand.h" +#include "commands/editeffectcommand.h" +#include "commands/moveeffectcommand.h" +#include "commands/addtransitioncommand.h" +#include "commands/edittransitioncommand.h" +#include "commands/editkeyframecommand.h" +#include "commands/changespeedcommand.h" +#include "commands/addmarkercommand.h" +#include "commands/razorclipcommand.h" #include "kdenlivesettings.h" #include "transition.h" #include "clipmanager.h" @@ -45,21 +45,21 @@ #include "ui_keyframedialog_ui.h" #include "clipdurationdialog.h" #include "abstractgroupitem.h" -#include "insertspacecommand.h" +#include "commands/insertspacecommand.h" #include "spacerdialog.h" -#include "addtrackcommand.h" -#include "movegroupcommand.h" +#include "commands/addtrackcommand.h" +#include "commands/movegroupcommand.h" #include "ui_addtrack_ui.h" #include "initeffects.h" -#include "locktrackcommand.h" -#include "groupclipscommand.h" -#include "splitaudiocommand.h" -#include "changecliptypecommand.h" +#include "commands/locktrackcommand.h" +#include "commands/groupclipscommand.h" +#include "commands/splitaudiocommand.h" +#include "commands/changecliptypecommand.h" #include "trackdialog.h" #include "tracksconfigdialog.h" -#include "configtrackscommand.h" -#include "rebuildgroupcommand.h" -#include "razorgroupcommand.h" +#include "commands/configtrackscommand.h" +#include "commands/rebuildgroupcommand.h" +#include "commands/razorgroupcommand.h" #include "profilesdialog.h" #include diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 09a18ddb..5a76ffb3 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -47,7 +47,7 @@ #endif /* NO_JOGSHUTTLE */ #include "clipproperties.h" #include "wizard.h" -#include "editclipcommand.h" +#include "commands/editclipcommand.h" #include "titlewidget.h" #include "markerdialog.h" #include "clipitem.h" diff --git a/src/projectlist.cpp b/src/projectlist.cpp index ce63215e..eef4da49 100644 --- a/src/projectlist.cpp +++ b/src/projectlist.cpp @@ -19,7 +19,7 @@ #include "projectlist.h" #include "projectitem.h" -#include "addfoldercommand.h" +#include "commands/addfoldercommand.h" #include "kdenlivesettings.h" #include "slideshowclip.h" #include "ui_colorclip_ui.h" @@ -33,10 +33,10 @@ #include "projectlistview.h" #include "timecodedisplay.h" #include "profilesdialog.h" -#include "editclipcommand.h" -#include "editclipcutcommand.h" -#include "editfoldercommand.h" -#include "addclipcutcommand.h" +#include "commands/editclipcommand.h" +#include "commands/editclipcutcommand.h" +#include "commands/editfoldercommand.h" +#include "commands/addclipcutcommand.h" #include "ui_templateclip_ui.h" diff --git a/src/trackview.cpp b/src/trackview.cpp index be769d6a..2e62176a 100644 --- a/src/trackview.cpp +++ b/src/trackview.cpp @@ -30,7 +30,7 @@ #include "customtrackview.h" #include "initeffects.h" #include "profilesdialog.h" -#include "configtrackscommand.h" +#include "commands/configtrackscommand.h" #include #include