}
}
-void CornersWidget::addParameter(QDomElement e, int activeKeyframe)
+void CornersWidget::addParameter(const QDomElement &e, int activeKeyframe)
{
KeyframeEdit::addParameter(e, activeKeyframe);
explicit CornersWidget(Monitor *monitor, const QDomElement &e, int minFrame, int maxFrame, const Timecode &tc, int activeKeyframe, QWidget* parent = 0);
virtual ~CornersWidget();
- virtual void addParameter(QDomElement e, int activeKeyframe = -1);
+ virtual void addParameter(const QDomElement &e, int activeKeyframe = -1);
public slots:
/** @brief Updates the on-monitor item. */
}
}
-void KeyframeEdit::addParameter(QDomElement e, int activeKeyframe)
+void KeyframeEdit::addParameter(const QDomElement &e, int activeKeyframe)
{
keyframe_list->blockSignals(true);
m_params.append(e.cloneNode().toElement());
public:
explicit KeyframeEdit(const QDomElement &e, int minFrame, int maxFrame, const Timecode &tc, int activeKeyframe, QWidget* parent = 0);
virtual ~KeyframeEdit();
- virtual void addParameter(QDomElement e, int activeKeyframe = -1);
+ virtual void addParameter(const QDomElement &e, int activeKeyframe = -1);
const QString getValue(const QString &name);
/** @brief Updates the timecode display according to settings (frame number or hh:mm:ss:ff) */
void updateTimecodeFormat();
//#include "config.h"
extern "C" {
- KDE_EXPORT ThumbCreator *new_creator() {
- return new MltPreview;
- }
+KDE_EXPORT ThumbCreator *new_creator() {
+ return new MltPreview;
+}
}
MltPreview::MltPreview() :
- QObject(),
- ThumbCreator()
+ QObject(),
+ ThumbCreator()
{
Mlt::Factory::init();
}