X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcomplexparameter.h;h=b5a7c177fef10fb0202621370c59d3e17b0e78be;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=7f02fb0c297ec7f3035b2aa08e632b7367f9a2ea;hpb=1aa02547b487a417a4e907d9b7f198cc757083d8;p=kdenlive diff --git a/src/complexparameter.h b/src/complexparameter.h index 7f02fb0c..b5a7c177 100644 --- a/src/complexparameter.h +++ b/src/complexparameter.h @@ -22,21 +22,14 @@ #include "ui_keyframewidget_ui.h" -class EffectsList; class ClipItem; class ComplexParameter : public QWidget { Q_OBJECT - public: - ComplexParameter(QWidget *parent = 0); - QDomElement getParamDesc(); -private: - Ui::KeyframeWidget_UI m_ui; - QDomElement m_param; - void setupListView(); - void updateButtonStatus(); + explicit ComplexParameter(QWidget *parent = 0); + QDomElement getParamDesc() const; public slots: void slotSetMoveX(); @@ -46,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 slotUpdateParameterList(QStringList); + 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