]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.h
Start of Kdenlive's d-bus interface, bringing a new tab in the render dialog showing...
[kdenlive] / src / mainwindow.h
index c0c47c6ff5f7d34d3201688d7558e3c8f32662a7..ba2ca8f9eb4885180cb3dae9740a0ed591c9528d 100644 (file)
@@ -58,9 +58,11 @@ class JogShuttle;
 #endif /* NO_JOGSHUTTLE */
 class DocClipBase;
 class Render;
+class Transition;
 
 class MainWindow : public KXmlGuiWindow {
     Q_OBJECT
+    Q_CLASSINFO("D-Bus Interface", "org.kdenlive.MainWindow")
 
 public:
     /** Constructor
@@ -194,6 +196,7 @@ private:
 public slots:
     void openFile(const KUrl &url);
     void slotGotProgressInfo(const QString &message, int progress);
+    Q_SCRIPTABLE void setRenderingProgress(const QString &url, int progress);
 
 private slots:
     void newFile(bool showProjectSettings = true);
@@ -243,7 +246,7 @@ private slots:
 #endif /* NO_JOGSHUTTLE */
     void slotShowClipProperties(DocClipBase *clip);
     void slotActivateEffectStackView();
-    void slotActivateTransitionView();
+    void slotActivateTransitionView(Transition *);
     void slotChangeTool(QAction * action);
     void slotSetTool(PROJECTTOOL tool);
     void slotSnapForward();
@@ -283,6 +286,7 @@ private slots:
     void slotRunWizard();
     void generateClip();
     void slotZoneMoved(int start, int end);
+    void slotUpdatePreviewSettings();
 };