]> git.sesse.net Git - kdenlive/blobdiff - src/monitormanager.h
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / monitormanager.h
index 8d12134023effd85d85d60ea2f3ae8e099c9053c..aa243afef619b473dec9452b8c5d4281948f93e1 100644 (file)
@@ -32,18 +32,18 @@ class MonitorManager : public QObject
     Q_OBJECT
 
 public:
-    MonitorManager(QWidget *parent = 0);
+    explicit MonitorManager(QWidget *parent = 0);
     void initMonitors(Monitor *clipMonitor, Monitor *projectMonitor, RecMonitor *recMonitor);
     void appendMonitor(AbstractMonitor *monitor);
     void removeMonitor(AbstractMonitor *monitor);
-    Timecode timecode();
-    void resetProfiles(Timecode tc);
+    Timecode timecode() const;
+    void resetProfiles(const Timecode &tc);
     void stopActiveMonitor();
     AbstractRender *activeRenderer();
     /** Searches for a monitor with the given name.
        @return NULL, if no monitor could be found, or the monitor otherwise.
     */
-    AbstractMonitor *monitor(Kdenlive::MONITORID monitorName);
+    AbstractMonitor *monitor(Kdenlive::MonitorId monitorName);
     void updateScopeSource();
     void clearScopeSource();
     /** @brief Returns current project's folder. */
@@ -57,8 +57,8 @@ public slots:
 
     /** @brief Activates a monitor.
      * @param name name of the monitor to activate */
-    bool activateMonitor(Kdenlive::MONITORID, bool forceRefresh = false);
-    bool isActive(Kdenlive::MONITORID id) const;
+    bool activateMonitor(Kdenlive::MonitorId, bool forceRefresh = false);
+    bool isActive(Kdenlive::MonitorId id) const;
     void slotPlay();
     void slotPause();
     void slotPlayZone();