comparison layer/FlexiNoteLayer.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 09e2677e34e7
children 4c8ca536b54f
comparison
equal deleted inserted replaced
782:ddae586bc47b 805:1d526ba11a24
44 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const; 44 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const;
45 45
46 virtual QString getFeatureDescription(View *v, QPoint &) const; 46 virtual QString getFeatureDescription(View *v, QPoint &) 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 51
52 virtual void drawStart(View *v, QMouseEvent *); 52 virtual void drawStart(View *v, QMouseEvent *);
53 virtual void drawDrag(View *v, QMouseEvent *); 53 virtual void drawDrag(View *v, QMouseEvent *);
54 virtual void drawEnd(View *v, QMouseEvent *); 54 virtual void drawEnd(View *v, QMouseEvent *);
68 68
69 virtual void mouseMoveEvent(View *v, QMouseEvent *); 69 virtual void mouseMoveEvent(View *v, QMouseEvent *);
70 70
71 virtual bool editOpen(View *v, QMouseEvent *); 71 virtual bool editOpen(View *v, QMouseEvent *);
72 72
73 virtual void moveSelection(Selection s, size_t newStartFrame); 73 virtual void moveSelection(Selection s, int newStartFrame);
74 virtual void resizeSelection(Selection s, Selection newSize); 74 virtual void resizeSelection(Selection s, Selection newSize);
75 virtual void deleteSelection(Selection s); 75 virtual void deleteSelection(Selection s);
76 76
77 virtual void copy(View *v, Selection s, Clipboard &to); 77 virtual void copy(View *v, Selection s, Clipboard &to);
78 virtual bool paste(View *v, const Clipboard &from, int frameOffset, 78 virtual bool paste(View *v, const Clipboard &from, int frameOffset,