diff layer/TimeValueLayer.h @ 805:1d526ba11a24 warnfix_no_size_t

Remove size_t's and fix warnings in layer/
author Chris Cannam
date Tue, 17 Jun 2014 15:18:06 +0100
parents 084f65094203
children b66fb15de477
line wrap: on
line diff
--- a/layer/TimeValueLayer.h	Tue Jun 03 11:10:52 2014 +0100
+++ b/layer/TimeValueLayer.h	Tue Jun 17 15:18:06 2014 +0100
@@ -43,13 +43,13 @@
     virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const;
 
     virtual QString getFeatureDescription(View *v, QPoint &) const;
-    virtual QString getLabelPreceding(size_t) const;
+    virtual QString getLabelPreceding(int) const;
 
     virtual bool snapToFeatureFrame(View *v, int &frame,
-				    size_t &resolution,
+				    int &resolution,
 				    SnapType snap) const;
     virtual bool snapToSimilarFeature(View *v, int &frame,
-                                      size_t &resolution,
+                                      int &resolution,
                                       SnapType snap) const;
 
     virtual void drawStart(View *v, QMouseEvent *);
@@ -66,7 +66,7 @@
 
     virtual bool editOpen(View *v, QMouseEvent *);
 
-    virtual void moveSelection(Selection s, size_t newStartFrame);
+    virtual void moveSelection(Selection s, int newStartFrame);
     virtual void resizeSelection(Selection s, Selection newSize);
     virtual void deleteSelection(Selection s);