]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.h
* Update to the "video only / audio only" options in clip menu
[kdenlive] / src / mainwindow.h
index 36e943288461da8412a2586b52bea9950ddcdb11..ec949c45261462f065af53a521a4ba4dbfa088a2 100644 (file)
@@ -61,7 +61,8 @@ class DocClipBase;
 class Render;
 class Transition;
 
-class MainWindow : public KXmlGuiWindow {
+class MainWindow : public KXmlGuiWindow
+{
     Q_OBJECT
     Q_CLASSINFO("D-Bus Interface", "org.kdenlive.MainWindow")
 
@@ -74,7 +75,7 @@ public:
      * The constructor inits the main window. If Url is present, it will be opened.
      * If Url is not present, and openLastproject is set, last project will be set
      * If no file is open after trying this, a default "newfile" will be created. */
-    MainWindow(const QString &MltPath = QString(), const KUrl & Url = KUrl(), QWidget *parent = 0);
+    explicit MainWindow(const QString &MltPath = QString(), const KUrl & Url = KUrl(), QWidget *parent = 0);
     void parseProfiles(const QString &mltPath = QString());
 
     static EffectsList videoEffects;
@@ -170,6 +171,7 @@ private:
     QAction *m_loopZone;
     QAction *m_playZone;
     StatusBarMessageLabel *m_messageLabel;
+    QActionGroup *m_clipTypeGroup;
 
     bool m_findActivated;
     QString m_findString;
@@ -193,6 +195,7 @@ private:
                    QActionGroup *actionGroup);
     void aboutPlugins();
     QStringList m_pluginFileNames;
+    QByteArray m_timelineState;
 
 public slots:
     void openFile(const KUrl &url);
@@ -225,7 +228,7 @@ private slots:
     void slotSwitchMarkersComments();
     void slotSwitchSnap();
     void slotRenderProject();
-    void slotDoRender(const QString &dest, const QString &render, const QStringList &overlay_args, const QStringList &avformat_args, bool zoneOnly, bool playAfter, double guideStart, double guideEnd, bool resizeProfile);
+    void slotDoRender(const QString &dest, const QString &render, const QStringList &overlay_args, const QStringList &avformat_args, bool zoneOnly, bool playAfter, double guideStart, double guideEnd, bool resizeProfile, const QString &scriptExport);
     void slotFullScreen();
     void slotUpdateDocumentState(bool modified);
     void slotZoomIn();
@@ -283,13 +286,21 @@ private slots:
     void slotInsertTrack(int ix = 0);
     void slotDeleteTrack(int ix = 0);
     void slotChangeTrack(int ix = 0);
-    void slotGetNewStuff();
+    void slotGetNewLumaStuff();
+    void slotGetNewRenderStuff();
+    void slotGetNewMltProfileStuff();
     void slotAutoTransition();
     void slotRunWizard();
     void generateClip();
     void slotZoneMoved(int start, int end);
     void slotUpdatePreviewSettings();
-    void slotDvdWizard(const QString &url = QString());
+    void slotDvdWizard(const QString &url = QString(), const QString &profile = "dv_pal");
+    void slotGroupClips();
+    void slotUnGroupClips();
+    void slotSplitAudio();
+    void slotUpdateClipType(QAction *action);
+    void slotShowTimeline(bool show);
+    void slotMaximizeCurrent(bool show);
 
 signals:
     Q_SCRIPTABLE void abortRenderJob(const QString &url);