diff options
Diffstat (limited to 'profile-widget')
-rw-r--r-- | profile-widget/divecartesianaxis.cpp | 4 | ||||
-rw-r--r-- | profile-widget/divecartesianaxis.h | 4 | ||||
-rw-r--r-- | profile-widget/profilewidget2.cpp | 2 | ||||
-rw-r--r-- | profile-widget/profilewidget2.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/profile-widget/divecartesianaxis.cpp b/profile-widget/divecartesianaxis.cpp index 60c1f1365..3ca87dd10 100644 --- a/profile-widget/divecartesianaxis.cpp +++ b/profile-widget/divecartesianaxis.cpp @@ -137,7 +137,7 @@ void emptyList(QList<T *> &list, double steps) } } -void DiveCartesianAxis::updateTicks(color_indice_t color) +void DiveCartesianAxis::updateTicks(color_index_t color) { if (!scene() || (!changed && !profileWidget->getPrintMode())) return; @@ -398,7 +398,7 @@ QString TimeAxis::textForValue(double value) return QString::number(nr); } -void TimeAxis::updateTicks(color_indice_t color) +void TimeAxis::updateTicks(color_index_t color) { DiveCartesianAxis::updateTicks(color); if (maximum() > 600) { diff --git a/profile-widget/divecartesianaxis.h b/profile-widget/divecartesianaxis.h index 835567411..a53324e9d 100644 --- a/profile-widget/divecartesianaxis.h +++ b/profile-widget/divecartesianaxis.h @@ -52,7 +52,7 @@ public: int unitSystem; public slots: - virtual void updateTicks(color_indice_t color = TIME_GRID); + virtual void updateTicks(color_index_t color = TIME_GRID); signals: void sizeChanged(); @@ -93,7 +93,7 @@ class TimeAxis : public DiveCartesianAxis { Q_OBJECT public: TimeAxis(ProfileWidget2 *widget); - void updateTicks(color_indice_t color = TIME_GRID); + void updateTicks(color_index_t color = TIME_GRID); protected: QString textForValue(double value); diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 1fb4f5f7e..3dd595caa 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -355,7 +355,7 @@ void ProfileWidget2::replot(struct dive *d) plotDive(d, true); } -void ProfileWidget2::createPPGas(PartialPressureGasItem *item, int verticalColumn, color_indice_t color, color_indice_t colorAlert, +void ProfileWidget2::createPPGas(PartialPressureGasItem *item, int verticalColumn, color_index_t color, color_index_t colorAlert, double *thresholdSettingsMin, double *thresholdSettingsMax) { setupItem(item, gasYAxis, verticalColumn, DivePlotDataModel::TIME, 0); diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index 4ce3baabb..5e64b369f 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -162,7 +162,7 @@ private: /*methods*/ void disconnectTemporaryConnections(); struct plot_data *getEntryFromPos(QPointF pos); void addActionShortcut(const Qt::Key shortcut, void (ProfileWidget2::*slot)()); - void createPPGas(PartialPressureGasItem *item, int verticalColumn, color_indice_t color, color_indice_t colorAlert, + void createPPGas(PartialPressureGasItem *item, int verticalColumn, color_index_t color, color_index_t colorAlert, double *thresholdSettingsMin, double *thresholdSettingsMax); private: DivePlotDataModel *dataModel; |