]> git.sesse.net Git - kdenlive/blobdiff - src/spacerdialog.h
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / spacerdialog.h
index 711019bef2052d3e65c79af2b87c4d5cfb75ac97..d840565823f5aa2a28e2a557af11e17e82c545a0 100644 (file)
 #include "timecodedisplay.h"
 #include "definitions.h"
 
-class SpacerDialog : public QDialog
+/**
+ * @class SpacerDialog
+ * @brief A dialog to specify length and track of inserted space.
+ * @author Jean-Baptiste Mardelle
+ */
+
+class SpacerDialog : public QDialog, public Ui::SpacerDialog_UI
 {
     Q_OBJECT
 
 public:
-    SpacerDialog(const GenTime duration, Timecode tc, int track, QList <TrackInfo> tracks, QWidget * parent = 0);
-    GenTime selectedDuration();
-    int selectedTrack();
+    SpacerDialog(const GenTime &duration, const Timecode &tc, int track, const QList <TrackInfo>& tracks, QWidget * parent = 0);
+    GenTime selectedDuration() const;
+    int selectedTrack() const;
 
 private:
-    Ui::SpacerDialog_UI m_view;
     TimecodeDisplay m_in;
 };