]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackscene.h
compile warning --
[kdenlive] / src / customtrackscene.h
index be1c712728c88790592fef48386c7c4ded9b231d..eb22ec90c6e3e435f3c788ab3c657795069a880f 100644 (file)
@@ -31,25 +31,26 @@ class KdenliveDoc;
 
 /** This class holds all properties that need to be used by clip items */
 
-class CustomTrackScene : public QGraphicsScene {
+class CustomTrackScene : public QGraphicsScene
+{
     Q_OBJECT
 
 public:
-    CustomTrackScene(KdenliveDoc *doc, QObject *parent = 0);
+    explicit CustomTrackScene(KdenliveDoc *doc, QObject *parent = 0);
     virtual ~ CustomTrackScene();
     void setSnapList(QList <GenTime> snaps);
     GenTime previousSnapPoint(GenTime pos);
     GenTime nextSnapPoint(GenTime pos);
     double getSnapPointForPos(double pos, bool doSnap = true);
-    void setScale(double scale);
-    double scale() const;
+    void setScale(double scale, double vscale);
+    QPointF scale() const;
     int tracksCount() const;
     QPixmap m_transitionPixmap;
 
 private:
     KdenliveDoc *m_document;
     QList <GenTime> m_snapPoints;
-    double m_scale;
+    QPointF m_scale;
 };
 
 #endif