X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmarkerdialog.h;h=a15c70faef6831891ff8a1154d4c596db016e2bd;hb=4ae3260592acc87712db77b7d3fe0cc2be7d76bc;hp=88960ca480d596aff5d926a785f8ab1574692968;hpb=533e803489bc102d03f0ef6609200ba04ac81ad2;p=kdenlive diff --git a/src/markerdialog.h b/src/markerdialog.h index 88960ca4..a15c70fa 100644 --- a/src/markerdialog.h +++ b/src/markerdialog.h @@ -1,4 +1,4 @@ -/*************************************************************************** + /*************************************************************************** * Copyright (C) 2008 by Jean-Baptiste Mardelle (jb@kdenlive.org) * * * * This program is free software; you can redistribute it and/or modify * @@ -31,7 +31,7 @@ namespace Mlt { class Producer; class Profile; -}; +} /** * @class MarkerDialog @@ -44,9 +44,11 @@ class MarkerDialog : public QDialog, public Ui::MarkerDialog_UI Q_OBJECT public: - MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, const QString &caption, QWidget * parent = 0); + explicit MarkerDialog(DocClipBase *clip, const CommentedTime &t, const Timecode &tc, const QString &caption, QWidget * parent = 0); ~MarkerDialog(); + CommentedTime newMarker(); + QImage markerImage() const; private slots: void slotUpdateThumb(); @@ -55,6 +57,7 @@ private: Mlt::Producer *m_producer; Mlt::Profile *m_profile; DocClipBase *m_clip; + QImage m_image; TimecodeDisplay *m_in; double m_dar; QTimer *m_previewTimer;