]> git.sesse.net Git - kdenlive/blobdiff - src/markerdialog.h
Fix Coverity #980696
[kdenlive] / src / markerdialog.h
index a3867a2551de821d4835b9fce1c57da8dcb77b7c..6a78e46827b40f297f05e9794a678aa57d49702f 100644 (file)
 #define MARKERDIALOG_H
 
 
+#include "ui_markerdialog_ui.h"
 #include "docclipbase.h"
 #include "timecode.h"
-#include "ui_markerdialog_ui.h"
+#include "timecodedisplay.h"
 
 namespace Mlt
 {
@@ -32,6 +33,12 @@ class Producer;
 class Profile;
 };
 
+/**
+ * @class MarkerDialog
+ * @brief A dialog for editing markers and guides.
+ * @author Jean-Baptiste Mardelle
+ */
+
 class MarkerDialog : public QDialog, public Ui::MarkerDialog_UI
 {
     Q_OBJECT
@@ -40,24 +47,19 @@ public:
     MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, const QString &caption, QWidget * parent = 0);
     ~MarkerDialog();
     CommentedTime newMarker();
+    QImage markerImage() const;
 
 private slots:
-    void slotTimeUp();
-    void slotTimeDown();
     void slotUpdateThumb();
 
-protected:
-    void wheelEvent(QWheelEvent * event);
-
 private:
     Mlt::Producer *m_producer;
     Mlt::Profile *m_profile;
     DocClipBase *m_clip;
-    Timecode m_tc;
-    double m_fps;
+    QImage m_image;
+    TimecodeDisplay *m_in;
     double m_dar;
     QTimer *m_previewTimer;
-    bool m_frameDisplay;
 
 signals:
     void updateThumb();