]> git.sesse.net Git - kdenlive/blobdiff - src/dvdwizardvob.h
Fix crash on clip deletion, fix issues with placeholder clips
[kdenlive] / src / dvdwizardvob.h
index 5544133c3ae0851593b2173f9b21efe58840b69c..6fd5b7fa31e08efbb146c3db0c00298c86b46f00 100644 (file)
@@ -29,6 +29,8 @@
 #include <kcapacitybar.h>
 #endif
 
+#include <KUrl>
+
 #include <QWizardPage>
 
 class DvdWizardVob : public QWizardPage
@@ -36,12 +38,21 @@ class DvdWizardVob : public QWizardPage
     Q_OBJECT
 
 public:
-    DvdWizardVob(QWidget * parent = 0);
+    DvdWizardVob(const QString &profile, QWidget * parent = 0);
     virtual ~DvdWizardVob();
     virtual bool isComplete() const;
     QStringList selectedUrls() const;
     void setUrl(const QString &url);
     QString introMovie() const;
+    bool isPal() const;
+    bool isWide() const;
+    int duration(int ix) const;
+    QStringList durations() const;
+    QStringList chapters() const;
+    void setProfile(const QString profile);
+    void clear();
+    void updateChapters(QMap <QString, QString> chaptersdata);
+    void setIntroMovie(const QString path);
 
 private:
     Ui::DvdWizardVob_UI m_view;
@@ -51,8 +62,15 @@ private:
     KCapacityBar *m_capacityBar;
 #endif
 
+public slots:
+    void slotAddVobFile(KUrl url = KUrl(), const QString &chapters = QString());
+
 private slots:
-    void slotCheckVobList(const QString &text);
+    void slotCheckVobList();
+    void slotDeleteVobFile();
+    void slotItemUp();
+    void slotItemDown();
+    void changeFormat();
 };
 
 #endif