Commit e0a70e04 authored by Alberto Villa's avatar Alberto Villa

Move undo commands to their own subdirectory

parent 63639604
......@@ -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
......
......@@ -19,7 +19,7 @@
#include "clipmanager.h"
#include "addclipcommand.h"
#include "commands/addclipcommand.h"
#include "kdenlivesettings.h"
#include "docclipbase.h"
#include "kdenlivedoc.h"
......
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
)
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "addclipcommand.h"
#include "commands/addclipcommand.h"
#include "kdenlivedoc.h"
#include <KLocale>
......
......@@ -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 <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "addeffectcommand.h"
#include "commands/addeffectcommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "addfoldercommand.h"
#include "commands/addfoldercommand.h"
#include "projectlist.h"
#include <KLocale>
......
......@@ -16,7 +16,7 @@
***************************************************************************/
#include "addmarkercommand.h"
#include "commands/addmarkercommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "addtimelineclipcommand.h"
#include "commands/addtimelineclipcommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "addtrackcommand.h"
#include "commands/addtrackcommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -16,7 +16,7 @@
***************************************************************************/
#include "addtransitioncommand.h"
#include "commands/addtransitioncommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "changecliptypecommand.h"
#include "commands/changecliptypecommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "changespeedcommand.h"
#include "commands/changespeedcommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "configtrackscommand.h"
#include "commands/configtrackscommand.h"
#include "customtrackview.h"
......
......@@ -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 <KLocale>
......
......@@ -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 <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "editeffectcommand.h"
#include "commands/editeffectcommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "editfoldercommand.h"
#include "commands/editfoldercommand.h"
#include "projectlist.h"
#include <KLocale>
......
......@@ -16,7 +16,7 @@
***************************************************************************/
#include "editguidecommand.h"
#include "commands/editguidecommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -16,7 +16,7 @@
***************************************************************************/
#include "editkeyframecommand.h"
#include "commands/editkeyframecommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -15,7 +15,7 @@
* *
***************************************************************************/
#include "edittransitioncommand.h"
#include "commands/edittransitioncommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "groupclipscommand.h"
#include "commands/groupclipscommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "insertspacecommand.h"
#include "commands/insertspacecommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -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 <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "moveclipcommand.h"
#include "commands/moveclipcommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "moveeffectcommand.h"
#include "commands/moveeffectcommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "movegroupcommand.h"
#include "commands/movegroupcommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -15,7 +15,7 @@
* *
***************************************************************************/
#include "movetransitioncommand.h"
#include "commands/movetransitioncommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "razorclipcommand.h"
#include "commands/razorclipcommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "razorgroupcommand.h"
#include "commands/razorgroupcommand.h"
#include "customtrackview.h"
RazorGroupCommand::RazorGroupCommand(CustomTrackView *view, QList <ItemInfo> clips1, QList <ItemInfo> transitions1, QList <ItemInfo> clipsCut, QList <ItemInfo> transitionsCut, QList <ItemInfo> clips2, QList <ItemInfo> transitions2, GenTime cutPos, QUndoCommand * parent) :
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "rebuildgroupcommand.h"
#include "commands/rebuildgroupcommand.h"
#include "customtrackview.h"
RebuildGroupCommand::RebuildGroupCommand(CustomTrackView* view, int childTrack, GenTime childPos, QUndoCommand* parent) :
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "resizeclipcommand.h"
#include "commands/resizeclipcommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -18,7 +18,7 @@
***************************************************************************/
#include "splitaudiocommand.h"
#include "commands/splitaudiocommand.h"
#include "customtrackview.h"
#include <KLocale>
......
......@@ -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 <KDebug>
......
......@@ -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"
......
......@@ -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"
......
......@@ -30,7 +30,7 @@
#include "customtrackview.h"
#include "initeffects.h"
#include "profilesdialog.h"
#include "configtrackscommand.h"
#include "commands/configtrackscommand.h"
#include <KDebug>
#include <KMessageBox>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment