svn path=/trunk/kdenlive/; revision=5892
/** @brief This signal contains the audio of the current frame. */
void audioSamplesSignal(const QVector<int16_t>&, int freq, int num_channels, int num_samples);
/** @brief This signal contains the audio of the current frame. */
void audioSamplesSignal(const QVector<int16_t>&, int freq, int num_channels, int num_samples);
- void frameSaved(const QString);
+ void frameSaved(const QString &);
signals:
void gotTimeCode(ulong);
void gotMessage(const QString &);
signals:
void gotTimeCode(ulong);
void gotMessage(const QString &);
- void frameSaved(const QString);
+ void frameSaved(const QString &);
void gotFrame(QImage);
};
void gotFrame(QImage);
};
connect(capture_device, SIGNAL(currentIndexChanged(int)), this, SLOT(slotUpdateDeviceHandler()));
/*if (m_bmCapture) {
connect(capture_device, SIGNAL(currentIndexChanged(int)), this, SLOT(slotUpdateDeviceHandler()));
/*if (m_bmCapture) {
- connect(m_bmCapture, SIGNAL(frameSaved(const QString)), this, SLOT(slotNewThumb(const QString)));
+ connect(m_bmCapture, SIGNAL(frameSaved(const QString &)), this, SLOT(slotNewThumb(const QString &)));
connect(m_bmCapture, SIGNAL(gotFrame(QImage)), this, SIGNAL(gotFrame(QImage)));
} else live_button->setEnabled(false);*/
connect(m_bmCapture, SIGNAL(gotFrame(QImage)), this, SIGNAL(gotFrame(QImage)));
} else live_button->setEnabled(false);*/
m_captureDevice = new MltDeviceCapture(profilePath, m_videoBox, this);
m_captureDevice->sendFrameForAnalysis = KdenliveSettings::analyse_stopmotion();
m_monitor->setRender(m_captureDevice);
m_captureDevice = new MltDeviceCapture(profilePath, m_videoBox, this);
m_captureDevice->sendFrameForAnalysis = KdenliveSettings::analyse_stopmotion();
m_monitor->setRender(m_captureDevice);
- connect(m_captureDevice, SIGNAL(frameSaved(const QString)), this, SLOT(slotNewThumb(const QString)));
+ connect(m_captureDevice, SIGNAL(frameSaved(const QString &)), this, SLOT(slotNewThumb(const QString &)));
live_button->setChecked(false);
button_addsequence->setEnabled(false);
live_button->setChecked(false);
button_addsequence->setEnabled(false);
m_captureDevice = new MltDeviceCapture(profilePath, m_videoBox, this);
m_captureDevice->sendFrameForAnalysis = KdenliveSettings::analyse_stopmotion();
m_monitor->setRender(m_captureDevice);
m_captureDevice = new MltDeviceCapture(profilePath, m_videoBox, this);
m_captureDevice->sendFrameForAnalysis = KdenliveSettings::analyse_stopmotion();
m_monitor->setRender(m_captureDevice);
- connect(m_captureDevice, SIGNAL(frameSaved(const QString)), this, SLOT(slotNewThumb(const QString)));
+ connect(m_captureDevice, SIGNAL(frameSaved(const QString &)), this, SLOT(slotNewThumb(const QString &)));
}
m_manager->activateMonitor("stopmotion");
}
m_manager->activateMonitor("stopmotion");
-void StopmotionWidget::slotNewThumb(const QString path)
+void StopmotionWidget::slotNewThumb(const QString &path)
{
if (!KdenliveSettings::showstopmotionthumbs()) return;
m_filesList.append(path);
{
if (!KdenliveSettings::showstopmotionthumbs()) return;
m_filesList.append(path);
if (m_captureDevice) m_captureDevice->mirror(isOn);
}
if (m_captureDevice) m_captureDevice->mirror(isOn);
}
-const QString StopmotionWidget::createProducer(MltVideoProfile profile, const QString service, const QString resource)
+const QString StopmotionWidget::createProducer(MltVideoProfile profile, const QString &service, const QString &resource)
StopmotionMonitor *m_monitor;
/** @brief Create the XML playlist. */
StopmotionMonitor *m_monitor;
/** @brief Create the XML playlist. */
- const QString createProducer(MltVideoProfile profile, const QString service, const QString resource);
+ const QString createProducer(MltVideoProfile profile, const QString &service, const QString &resource);
/** @brief A new frame arrived, reload overlay. */
void reloadOverlay();
/** @brief A new frame arrived, reload overlay. */
void reloadOverlay();
void slotConfigure();
/** @brief Prepare to crete thumb for newly captured frame. */
void slotConfigure();
/** @brief Prepare to crete thumb for newly captured frame. */
- void slotNewThumb(const QString path);
+ void slotNewThumb(const QString &path);
/** @brief Set the effect to be applied to overlay frame. */
void slotUpdateOverlayEffect(QAction* act);
/** @brief Set the effect to be applied to overlay frame. */
void slotUpdateOverlayEffect(QAction* act);
signals:
/** @brief Ask to add sequence to current project. */
signals:
/** @brief Ask to add sequence to current project. */
- void addOrUpdateSequence(const QString);
+ void addOrUpdateSequence(const QString &);
void doCreateThumbs(QImage, int);
void gotFrame(QImage);
void doCreateThumbs(QImage, int);
void gotFrame(QImage);