]> git.sesse.net Git - kdenlive/blobdiff - src/tracksconfigdialog.h
Const'ref
[kdenlive] / src / tracksconfigdialog.h
index 3c2bea5ad9a3993b081427540c57bf1881f1c10f..0b513b9cc290ba3fde5cb775d6c0d51b25f3cc01 100644 (file)
@@ -55,19 +55,28 @@ public:
     * @param doc the kdenlive document whose tracks to use
     * @param selected the track which should be selected by default
     * @param parent the parent widget */
-    TracksConfigDialog(KdenliveDoc * doc, int selected = -1, QWidget * parent = 0);
+    explicit TracksConfigDialog(KdenliveDoc * doc, int selected = -1, QWidget * parent = 0);
 
     /** @brief Returns the new list of tracks created from the table. */
     const QList <TrackInfo> tracksList();
 
+    /** @brief A list of tracks, which sould be deleted. */
+    QList <int> deletedTracks() const;
+
 private slots:
     /** @brief Updates the "hidden" checkbox if type was changed. */
     void slotUpdateRow(QTableWidgetItem *item);
 
-private:
+private slots:
     /** @brief Recreates the table from the list of tracks in m_doc. */
     void setupOriginal(int selected = -1);
+
+    /** @brief Marks a track to be deleted. */
+    void slotDelete();
+
+private:
     KdenliveDoc *m_doc;
+    QList <int> m_deletedRows;
 };
 
 #endif