Commit 9999e7e3 authored by Laurent Montel's avatar Laurent Montel 😁

const'ref.

parent 70ebf67b
......@@ -35,14 +35,14 @@ namespace Mlt{
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;
......
......@@ -63,8 +63,8 @@ private:
#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);
};
......
......@@ -69,21 +69,21 @@ ColorPlaneExport::~ColorPlaneExport()
///// 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);
......
......@@ -34,9 +34,9 @@ private:
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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment