X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Frecmonitor.h;h=b5d767a5dabe7a937a3621f7bc3ff2536e16a5e5;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=791f97cfea777a43dd80add6d0b329e50264f312;hpb=c5e042e1e861fa7bec6d56cb61e80477e97569be;p=kdenlive diff --git a/src/recmonitor.h b/src/recmonitor.h index 791f97cf..b5d767a5 100644 --- a/src/recmonitor.h +++ b/src/recmonitor.h @@ -57,15 +57,15 @@ class RecMonitor : public AbstractMonitor, public Ui::RecMonitor_UI public: explicit RecMonitor(Kdenlive::MONITORID name, MonitorManager *manager, QWidget *parent = 0); - virtual ~RecMonitor(); + ~RecMonitor(); AbstractRender *abstractRender(); void analyseFrames(bool analyse); enum CAPTUREDEVICE {FIREWIRE = 0, VIDEO4LINUX = 1, SCREENGRAB = 2, BLACKMAGIC = 3}; protected: - virtual void mousePressEvent(QMouseEvent * event); - virtual void mouseDoubleClickEvent(QMouseEvent * event); + void mousePressEvent(QMouseEvent * event); + void mouseDoubleClickEvent(QMouseEvent * event); private: KDateTime m_captureTime; @@ -117,9 +117,9 @@ private: /** @brief Build MLT producer for device, using path as profile. */ void buildMltDevice(const QString &path); /** @brief Create string containing an XML playlist for v4l capture. */ - const QString getV4lXmlPlaylist(MltVideoProfile profile, bool *isXml); + const QString getV4lXmlPlaylist(const MltVideoProfile &profile, bool *isXml); /** @brief Display an error message to user. */ - void showMessage(const QString &text, const QString &icon, bool logAction = false); + void showWarningMessage(const QString &text, bool logAction = false); private slots: void slotStartPreview(bool play = true);