X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fdoubleparameterwidget.h;h=7dec64656eeba0b7bc4d76a103015f74a205b628;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=d18ad11e0fc0889243cd92c7cd2681f4bc13293a;hpb=8e3f6524aff0346990394f3f690d8f55ca48a311;p=kdenlive diff --git a/src/doubleparameterwidget.h b/src/doubleparameterwidget.h index d18ad11e..7dec6465 100644 --- a/src/doubleparameterwidget.h +++ b/src/doubleparameterwidget.h @@ -25,8 +25,6 @@ class QLabel; -class QSlider; -class QSpinBox; class DragValue; /** @@ -50,7 +48,8 @@ public: * @param comment A comment explaining the parameter. Will be shown for the tooltip. * @param suffix (optional) Suffix to display in spinbox * @param parent (optional) Parent Widget */ - DoubleParameterWidget(const QString &name, double value, double min, double max, double defaultValue, const QString &comment, int id, const QString suffix = QString(), int decimals = 0, QWidget* parent = 0); + explicit DoubleParameterWidget(const QString &name, double value, double min, double max, double defaultValue, const QString &comment, int id, const QString &suffix = QString(), int decimals = 0, QWidget* parent = 0); + ~DoubleParameterWidget(); /** @brief Gets the parameter's value. */ double getValue(); @@ -75,9 +74,6 @@ private slots: void slotSetValue(double value, bool final); private: - QLabel *m_name; - QSlider *m_slider; - QSpinBox *m_spinBox; DragValue *m_dragVal; QLabel *m_commentLabel;