X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=b2232914fb9c8de826ddaf7a2eba1142c2b1f3c2;hb=92e484328628496771a02ead5491abad04b29c24;hp=f4d0d3b478be0a7f1989d79d2f0deabd258447f9;hpb=39e387e732db729eaf44c1826d86cd45e3878482;p=kdenlive diff --git a/src/mainwindow.h b/src/mainwindow.h index f4d0d3b4..b2232914 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -46,6 +46,7 @@ #include "dvdwizard.h" #include "stopmotion/stopmotion.h" #include "noteswidget.h" +#include "ui_backupdialog_ui.h" class KdenliveDoc; class TrackView; @@ -58,10 +59,10 @@ class Monitor; class RecMonitor; class CustomTrackView; class RenderWidget; -#ifndef NO_JOGSHUTTLE +#ifdef USE_JOGSHUTTLE class JogShuttle; class JogShuttleAction; -#endif /* NO_JOGSHUTTLE */ +#endif class DocClipBase; class Render; class Transition; @@ -221,10 +222,10 @@ private: RenderWidget *m_renderWidget; -#ifndef NO_JOGSHUTTLE +#ifdef USE_JOGSHUTTLE JogShuttle *m_jogProcess; JogShuttleAction* m_jogShuttle; -#endif /* NO_JOGSHUTTLE */ +#endif KRecentFilesAction *m_fileOpenRecent; KAction *m_fileRevert; @@ -266,9 +267,9 @@ private: void readOptions(); void saveOptions(); -#ifndef NO_JOGSHUTTLE +#ifdef USE_JOGSHUTTLE void activateShuttleDevice(); -#endif /* NO_JOGSHUTTLE */ +#endif void connectDocumentInfo(KdenliveDoc *doc); void findAhead(); void doOpenFile(const KUrl &url, KAutoSaveFile *stale); @@ -304,6 +305,7 @@ private: void loadLayouts(); StopmotionWidget *m_stopmotion; + QTime m_timer; public slots: /** @brief Prepares opening @param url. @@ -345,7 +347,6 @@ private slots: /** @brief Reflects setting changes to the GUI. */ void updateConfiguration(); void slotConnectMonitors(); - void slotRaiseMonitor(AbstractMonitor *monitor); void slotUpdateClip(const QString &id); void slotUpdateMousePosition(int pos); void slotAddEffect(const QDomElement effect); @@ -410,6 +411,7 @@ private slots: void slotAddVideoEffect(QAction *result); void slotAddTransition(QAction *result); void slotAddProjectClip(KUrl url); + void slotAddProjectClipList(KUrl::List urls); void slotShowClipProperties(DocClipBase *clip); void slotShowClipProperties(QList cliplist, QMap commonproperties); void slotActivateEffectStackView(ClipItem* item = NULL, int ix = -1, bool raise = true); @@ -443,7 +445,7 @@ private slots: void slotAdjustClipMonitor(); void slotAdjustProjectMonitor(); - void slotSaveZone(Render *render, QPoint zone); + void slotSaveZone(Render *render, QPoint zone, DocClipBase *baseClip = NULL, KUrl path = KUrl()); void slotSetInPoint(); void slotSetOutPoint(); @@ -540,6 +542,13 @@ private slots: void slotUpdateProxySettings(); /** @brief Insert current project's timecode into the notes widget. */ void slotInsertNotesTimecode(); + /** @brief Open the project's backupdialog. */ + void slotOpenBackupDialog(const KUrl url = KUrl()); + /** @brief Disable proxies for this project. */ + void slotDisableProxies(); + + void slotElapsedTime(); + signals: Q_SCRIPTABLE void abortRenderJob(const QString &url); };