X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcornerswidget.h;h=27facd4c1935136d98ba32a077771ad48b9620ec;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=9b8351ad5e1bc97bb21026fea7bfae5b45a3d660;hpb=19c95e56d8632b24eb7ecb14f542d684eac5f6cb;p=kdenlive diff --git a/src/cornerswidget.h b/src/cornerswidget.h index 9b8351ad..27facd4c 100644 --- a/src/cornerswidget.h +++ b/src/cornerswidget.h @@ -40,10 +40,10 @@ public: * @param isEffect true if used in an effect, false if used in a transition * @param factor Factor by which the parameters differ from the range 0-1 * @param parent (optional) Parent widget */ - CornersWidget(Monitor *monitor, QDomElement e, int minFrame, int maxFrame, Timecode tc, int activeKeyframe, QWidget* parent = 0); + explicit CornersWidget(Monitor *monitor, const QDomElement &e, int minFrame, int maxFrame, const Timecode &tc, int activeKeyframe, QWidget* parent = 0); virtual ~CornersWidget(); - virtual void addParameter(QDomElement e, int activeKeyframe = -1); + virtual void addParameter(const QDomElement &e, int activeKeyframe = -1); public slots: /** @brief Updates the on-monitor item. */ @@ -60,9 +60,6 @@ private: QList getPoints(QTableWidgetItem *keyframe); private slots: - /** @brief Makes sure the monitor effect scene is only visible if the clip this geometry belongs to is visible. - * @param renderPos Postion of the Monitor / Timeline cursor */ - void slotCheckMonitorPosition(int renderPos); /** @brief Updates the on-monitor item according to the current timeline position. */ void slotUpdateItem(); @@ -77,12 +74,6 @@ private slots: /** @brief Shows/Hides additional controls on the monitor according to @param show. */ void slotShowControls(bool show = true); - - /** @brief Switches from normal monitor to monitor scene according to @param show. */ - void slotShowScene(bool show = true); - -signals: - void checkMonitorPosition(int); }; #endif