X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmonitormanager.h;h=aa243afef619b473dec9452b8c5d4281948f93e1;hb=9d7083dc62a7c6cb319a00efcc7a279db0305abc;hp=ca2b573606d36ac341aecc8a0f42f30cd946175f;hpb=36dc441fe0b6e3e3c1a82acf8b9897c76889d073;p=kdenlive diff --git a/src/monitormanager.h b/src/monitormanager.h index ca2b5736..aa243afe 100644 --- a/src/monitormanager.h +++ b/src/monitormanager.h @@ -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() const; - void resetProfiles(Timecode tc); + 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();