]> git.sesse.net Git - kdenlive/blobdiff - src/stopmotion/stopmotion.h
includemocs
[kdenlive] / src / stopmotion / stopmotion.h
index 124b11670abbb1d3e18c4deed6678d4105a0d6b7..df5e0d2bd9ef0d9ca528a02e3520e5129ba7c23e 100644 (file)
@@ -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();