#include <QFuture>
#include <QVBoxLayout>
#include <QTimer>
-#include <abstractmonitor.h>
+#include <widgets/abstractmonitor.h>
class MltDeviceCapture;
class MonitorManager;
{
Q_OBJECT
public:
- MyLabel(QWidget* parent = 0);
+ explicit MyLabel(QWidget* parent = 0);
void setImage(const QImage &img);
protected:
- virtual void paintEvent(QPaintEvent* event);
- virtual void wheelEvent(QWheelEvent* event);
- virtual void mousePressEvent(QMouseEvent*);
+ void paintEvent(QPaintEvent* event);
+ void wheelEvent(QWheelEvent* event);
+ void mousePressEvent(QMouseEvent*);
private:
QImage m_img;
StopmotionMonitor(MonitorManager *manager, QWidget *parent);
~StopmotionMonitor();
AbstractRender *abstractRender();
- Kdenlive::MONITORID id() const;
+ Kdenlive::MonitorId id() const;
void setRender(MltDeviceCapture *render);
private:
StopmotionMonitor *m_monitor;
/** @brief Create the XML playlist. */
- const QString createProducer(MltVideoProfile profile, const QString &service, const QString &resource);
+ const QString createProducer(const MltVideoProfile &profile, const QString &service, const QString &resource);
/** @brief A new frame arrived, reload overlay. */
void reloadOverlay();
/** @brief Ask to add sequence to current project. */
void addOrUpdateSequence(const QString &);
- void doCreateThumbs(QImage, int);
- void gotFrame(QImage);
+ void doCreateThumbs(const QImage&, int);
+ void gotFrame(const QImage&);
};
#endif