X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcomplexparameter.h;h=b5a7c177fef10fb0202621370c59d3e17b0e78be;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=8990605471b4b886313c9eda600e8f2717a57202;hpb=fc1415ba45654f57bc25264fcd9e16221523f626;p=kdenlive diff --git a/src/complexparameter.h b/src/complexparameter.h index 89906054..b5a7c177 100644 --- a/src/complexparameter.h +++ b/src/complexparameter.h @@ -27,15 +27,9 @@ class ClipItem; class ComplexParameter : public QWidget { Q_OBJECT - public: explicit ComplexParameter(QWidget *parent = 0); QDomElement getParamDesc() const; -private: - Ui::KeyframeWidget_UI m_ui; - QDomElement m_param; - void setupListView(); - void updateButtonStatus(); public slots: void slotSetMoveX(); @@ -45,14 +39,20 @@ public slots: void slotShowInTimeline(); void slotParameterChanged(const QString&); void itemSelectionChanged(); - void setupParam(const QDomElement, const QString& paramName, int, int); - void slotUpdateEffectParams(QDomElement e); + void setupParam(const QDomElement &, const QString& paramName, int, int); + void slotUpdateEffectParams(const QDomElement &e); void slotUpdateParameterList(const QStringList &); + signals: - void removeEffect(ClipItem*, QDomElement); - void updateClipEffect(ClipItem*, QDomElement); + void removeEffect(ClipItem*, const QDomElement &); + void updateClipEffect(ClipItem*, const QDomElement &); void parameterChanged(); +private: + Ui::KeyframeWidget_UI m_ui; + QDomElement m_param; + void setupListView(); + void updateButtonStatus(); }; #endif