X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fstopmotion%2Fstopmotion.h;h=df5e0d2bd9ef0d9ca528a02e3520e5129ba7c23e;hb=ddd3e50e4fc7f2744ad8de03650b66714441bc24;hp=124b11670abbb1d3e18c4deed6678d4105a0d6b7;hpb=a1f0a54b93ab364a37fd8242c1881c61d066ada7;p=kdenlive diff --git a/src/stopmotion/stopmotion.h b/src/stopmotion/stopmotion.h index 124b1167..df5e0d2b 100644 --- a/src/stopmotion/stopmotion.h +++ b/src/stopmotion/stopmotion.h @@ -30,7 +30,6 @@ class MltDeviceCapture; class MonitorManager; -class VideoPreviewContainer; class MltVideoProfile; class MyLabel : public QLabel @@ -38,7 +37,7 @@ class MyLabel : public QLabel Q_OBJECT public: MyLabel(QWidget* parent = 0); - void setImage(QImage img); + void setImage(const QImage &img); protected: virtual void paintEvent(QPaintEvent* event); @@ -93,7 +92,7 @@ public: * @param projectFolder The current project folder, where captured files will be stored. * @param actions The actions for this widget that can have a keyboard shortcut. * @param parent (optional) parent widget */ - StopmotionWidget(MonitorManager *manager, KUrl projectFolder, QList< QAction* > actions, QWidget* parent = 0); + StopmotionWidget(MonitorManager *manager, const KUrl &projectFolder, const QList< QAction* > &actions, QWidget* parent = 0); virtual ~StopmotionWidget(); protected: @@ -106,8 +105,6 @@ private: /** @brief Capture holder that will handle all video operation. */ MltDeviceCapture *m_captureDevice; - VideoContainer *m_videoBox; - /** @brief Holds the name of the current sequence. * Files will be saved in project folder with name: sequence001.png */ QString m_sequenceName; @@ -214,7 +211,7 @@ private slots: void slotGotHDMIMessage(const QString& message); /** @brief Create thumbnails for existing sequence frames. */ - void slotCreateThumbs(QImage img, int ix); + void slotCreateThumbs(const QImage &img, int ix); /** @brief Prepare thumbnails creation. */ void slotPrepareThumbs();