class Playlist;
class Consumer;
class Filter;
-};
+}
class ClipStabilize : public QDialog, public Ui::ClipStabilize_UI
{
Q_OBJECT
public:
- ClipStabilize(const QStringList &urls, const QString &filterName,QWidget * parent = 0);
+ explicit ClipStabilize(const QStringList &urls, const QString &filterName,QWidget * parent = 0);
~ClipStabilize();
/** @brief Should the generated clip be added to current project. */
bool autoAddClip() const;
#endif
signals:
- void addClip(KUrl url);
- void transcodedClip(KUrl source, KUrl result);
+ void addClip(const KUrl &url);
+ void transcodedClip(const KUrl &source, const KUrl &result);
};
///// Helper functions /////
-void ColorPlaneExport::enableSliderScaling(const bool &enable)
+void ColorPlaneExport::enableSliderScaling(bool enable)
{
sliderScaling->setEnabled(enable);
lblScaling->setEnabled(enable);
lblScaleNr->setEnabled(enable);
}
-void ColorPlaneExport::enableSliderColor(const bool &enable)
+void ColorPlaneExport::enableSliderColor(bool enable)
{
sliderColor->setEnabled(enable);
lblSliderName->setEnabled(enable);
lblColNr->setEnabled(enable);
}
-void ColorPlaneExport::enableCbVariant(const bool &enable)
+void ColorPlaneExport::enableCbVariant(bool enable)
{
cbVariant->setEnabled(enable);
lblVariant->setEnabled(enable);
ColorTools *m_colorTools;
float m_scaling;
float m_Y;
- void enableSliderScaling(const bool &enable);
- void enableSliderColor(const bool &enable);
- void enableCbVariant(const bool &enable);
+ void enableSliderScaling(bool enable);
+ void enableSliderColor(bool enable);
+ void enableCbVariant(bool enable);
private slots: