comparison view/Overview.h @ 908:4a578a360011 cxx11

More type fixes
author Chris Cannam
date Tue, 10 Mar 2015 13:22:10 +0000
parents 4c8ca536b54f
children 26da827e8fb5
comparison
equal deleted inserted replaced
907:28d05ae8741c 908:4a578a360011
39 void unregisterView(View *view); 39 void unregisterView(View *view);
40 40
41 virtual QString getPropertyContainerIconName() const { return "panner"; } 41 virtual QString getPropertyContainerIconName() const { return "panner"; }
42 42
43 public slots: 43 public slots:
44 virtual void modelChangedWithin(int startFrame, int endFrame); 44 virtual void modelChangedWithin(sv_frame_t startFrame, sv_frame_t endFrame);
45 virtual void modelReplaced(); 45 virtual void modelReplaced();
46 46
47 virtual void globalCentreFrameChanged(int); 47 virtual void globalCentreFrameChanged(sv_frame_t);
48 virtual void viewCentreFrameChanged(View *, int); 48 virtual void viewCentreFrameChanged(View *, sv_frame_t);
49 virtual void viewZoomLevelChanged(View *, int, bool); 49 virtual void viewZoomLevelChanged(View *, int, bool);
50 virtual void viewManagerPlaybackFrameChanged(int); 50 virtual void viewManagerPlaybackFrameChanged(sv_frame_t);
51 51
52 protected: 52 protected:
53 virtual void paintEvent(QPaintEvent *e); 53 virtual void paintEvent(QPaintEvent *e);
54 virtual void mousePressEvent(QMouseEvent *e); 54 virtual void mousePressEvent(QMouseEvent *e);
55 virtual void mouseReleaseEvent(QMouseEvent *e); 55 virtual void mouseReleaseEvent(QMouseEvent *e);
60 virtual bool shouldLabelSelections() const { return false; } 60 virtual bool shouldLabelSelections() const { return false; }
61 61
62 QPoint m_clickPos; 62 QPoint m_clickPos;
63 QPoint m_mousePos; 63 QPoint m_mousePos;
64 bool m_clickedInRange; 64 bool m_clickedInRange;
65 int m_dragCentreFrame; 65 sv_frame_t m_dragCentreFrame;
66 QTime m_modelTestTime; 66 QTime m_modelTestTime;
67 67
68 typedef std::set<View *> ViewSet; 68 typedef std::set<View *> ViewSet;
69 ViewSet m_views; 69 ViewSet m_views;
70 }; 70 };