]> git.sesse.net Git - kdenlive/blobdiff - src/dvdwizardvob.h
Rename kdenlive-config.h to match common naming
[kdenlive] / src / dvdwizardvob.h
index 028ce85402cf48b85abb60783a5b20cd88af7711..aa024dd8d3494c6b14538b8a0473d7006f27ee7a 100644 (file)
 #include "ui_dvdwizardvob_ui.h"
 
 #include <kdeversion.h>
-
-#if KDE_IS_VERSION(4,2,0)
 #include <kcapacitybar.h>
-#endif
-
 #include <KUrl>
 
 #include <QWizardPage>
@@ -42,25 +38,28 @@ public:
     virtual ~DvdWizardVob();
     virtual bool isComplete() const;
     QStringList selectedUrls() const;
-    QStringList selectedTitles() const;
-    QStringList selectedTargets() const;
     void setUrl(const QString &url);
     QString introMovie() const;
-    bool useChapters() const;
     bool isPal() const;
-    QStringList chapter(int ix) 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;
     QString m_errorMessage;
-
-#if KDE_IS_VERSION(4,2,0)
     KCapacityBar *m_capacityBar;
-#endif
+
+public slots:
+    void slotAddVobFile(KUrl url = KUrl(), const QString &chapters = QString());
 
 private slots:
     void slotCheckVobList();
-    void slotAddVobFile(KUrl url = KUrl());
     void slotDeleteVobFile();
     void slotItemUp();
     void slotItemDown();