diff view/Pane.h @ 1481:e540aa5d89cd by-id

Update for removal of (public) getId from Model
author Chris Cannam
date Fri, 05 Jul 2019 15:34:50 +0100
parents 84c4ddb38415
children 235e08aa2d5d
line wrap: on
line diff
--- a/view/Pane.h	Thu Jul 04 18:04:44 2019 +0100
+++ b/view/Pane.h	Fri Jul 05 15:34:50 2019 +0100
@@ -88,7 +88,7 @@
     virtual void toolModeChanged() override;
     virtual void zoomWheelsEnabledChanged() override;
     virtual void viewZoomLevelChanged(View *, ZoomLevel, bool locked) override;
-    virtual void modelAlignmentCompletionChanged() override;
+    virtual void modelAlignmentCompletionChanged(ModelId) override;
 
     // local slots, not overrides
     virtual void horizontalThumbwheelMoved(int value);
@@ -129,12 +129,12 @@
     void drawVerticalScale(QRect r, Layer *, QPainter &);
     void drawFeatureDescription(Layer *, QPainter &);
     void drawCentreLine(sv_samplerate_t, QPainter &, bool omitLine);
-    void drawModelTimeExtents(QRect, QPainter &, const Model &);
-    void drawDurationAndRate(QRect, const Model &, sv_samplerate_t, QPainter &);
-    void drawWorkTitle(QRect, QPainter &, const Model &);
+    void drawModelTimeExtents(QRect, QPainter &, ModelId);
+    void drawDurationAndRate(QRect, ModelId, sv_samplerate_t, QPainter &);
+    void drawWorkTitle(QRect, QPainter &, ModelId);
     void drawLayerNames(QRect, QPainter &);
     void drawEditingSelection(QPainter &);
-    void drawAlignmentStatus(QRect, QPainter &, const Model &, bool down);
+    void drawAlignmentStatus(QRect, QPainter &, ModelId, bool down);
 
     virtual bool render(QPainter &paint, int x0, sv_frame_t f0, sv_frame_t f1) override;