comparison 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
comparison
equal deleted inserted replaced
782:ddae586bc47b 805:1d526ba11a24
41 41
42 virtual int getVerticalScaleWidth(View *v, bool, QPainter &) const; 42 virtual int getVerticalScaleWidth(View *v, bool, QPainter &) const;
43 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const; 43 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const;
44 44
45 virtual QString getFeatureDescription(View *v, QPoint &) const; 45 virtual QString getFeatureDescription(View *v, QPoint &) const;
46 virtual QString getLabelPreceding(size_t) const; 46 virtual QString getLabelPreceding(int) const;
47 47
48 virtual bool snapToFeatureFrame(View *v, int &frame, 48 virtual bool snapToFeatureFrame(View *v, int &frame,
49 size_t &resolution, 49 int &resolution,
50 SnapType snap) const; 50 SnapType snap) const;
51 virtual bool snapToSimilarFeature(View *v, int &frame, 51 virtual bool snapToSimilarFeature(View *v, int &frame,
52 size_t &resolution, 52 int &resolution,
53 SnapType snap) const; 53 SnapType snap) const;
54 54
55 virtual void drawStart(View *v, QMouseEvent *); 55 virtual void drawStart(View *v, QMouseEvent *);
56 virtual void drawDrag(View *v, QMouseEvent *); 56 virtual void drawDrag(View *v, QMouseEvent *);
57 virtual void drawEnd(View *v, QMouseEvent *); 57 virtual void drawEnd(View *v, QMouseEvent *);
64 virtual void editDrag(View *v, QMouseEvent *); 64 virtual void editDrag(View *v, QMouseEvent *);
65 virtual void editEnd(View *v, QMouseEvent *); 65 virtual void editEnd(View *v, QMouseEvent *);
66 66
67 virtual bool editOpen(View *v, QMouseEvent *); 67 virtual bool editOpen(View *v, QMouseEvent *);
68 68
69 virtual void moveSelection(Selection s, size_t newStartFrame); 69 virtual void moveSelection(Selection s, int newStartFrame);
70 virtual void resizeSelection(Selection s, Selection newSize); 70 virtual void resizeSelection(Selection s, Selection newSize);
71 virtual void deleteSelection(Selection s); 71 virtual void deleteSelection(Selection s);
72 72
73 virtual void copy(View *v, Selection s, Clipboard &to); 73 virtual void copy(View *v, Selection s, Clipboard &to);
74 virtual bool paste(View *v, const Clipboard &from, int frameOffset, 74 virtual bool paste(View *v, const Clipboard &from, int frameOffset,