mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Rename two C++ methods to the more typical CamelCase
Silly little change. Whatever. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d740ad1317
commit
5bead467d7
2 changed files with 7 additions and 7 deletions
|
@ -461,8 +461,8 @@ void DiveGasPressureItem::modelDataChanged(const QModelIndex &topLeft, const QMo
|
|||
if (cyl != entry->cylinderindex) {
|
||||
cyl = entry->cylinderindex;
|
||||
if (!seen_cyl[cyl]) {
|
||||
plot_pressure_value(mbar, entry->sec, Qt::AlignRight | Qt::AlignTop);
|
||||
plot_gas_value(mbar, entry->sec, Qt::AlignRight | Qt::AlignBottom,
|
||||
plotPressureValue(mbar, entry->sec, Qt::AlignRight | Qt::AlignTop);
|
||||
plotGasValue(mbar, entry->sec, Qt::AlignRight | Qt::AlignBottom,
|
||||
dive->cylinder[cyl].gasmix);
|
||||
seen_cyl[cyl] = true;
|
||||
}
|
||||
|
@ -473,12 +473,12 @@ void DiveGasPressureItem::modelDataChanged(const QModelIndex &topLeft, const QMo
|
|||
|
||||
for (cyl = 0; cyl < MAX_CYLINDERS; cyl++) {
|
||||
if (last_time[cyl]) {
|
||||
plot_pressure_value(last_pressure[cyl], last_time[cyl], Qt::AlignLeft | Qt::AlignTop);
|
||||
plotPressureValue(last_pressure[cyl], last_time[cyl], Qt::AlignLeft | Qt::AlignTop);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void DiveGasPressureItem::plot_pressure_value(int mbar, int sec, QFlags<Qt::AlignmentFlag> flags)
|
||||
void DiveGasPressureItem::plotPressureValue(int mbar, int sec, QFlags<Qt::AlignmentFlag> flags)
|
||||
{
|
||||
const char *unit;
|
||||
int pressure = get_pressure_units(mbar, &unit);
|
||||
|
@ -490,7 +490,7 @@ void DiveGasPressureItem::plot_pressure_value(int mbar, int sec, QFlags<Qt::Alig
|
|||
texts.push_back(text);
|
||||
}
|
||||
|
||||
void DiveGasPressureItem::plot_gas_value(int mbar, int sec, QFlags<Qt::AlignmentFlag> flags, struct gasmix gasmix)
|
||||
void DiveGasPressureItem::plotGasValue(int mbar, int sec, QFlags<Qt::AlignmentFlag> flags, struct gasmix gasmix)
|
||||
{
|
||||
QString gas = gasToStr(gasmix);
|
||||
DiveTextItem *text = new DiveTextItem(this);
|
||||
|
|
|
@ -119,8 +119,8 @@ public:
|
|||
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
|
||||
|
||||
private:
|
||||
void plot_pressure_value(int mbar, int sec, QFlags<Qt::AlignmentFlag> align);
|
||||
void plot_gas_value(int mbar, int sec, QFlags<Qt::AlignmentFlag> align, struct gasmix gasmix);
|
||||
void plotPressureValue(int mbar, int sec, QFlags<Qt::AlignmentFlag> align);
|
||||
void plotGasValue(int mbar, int sec, QFlags<Qt::AlignmentFlag> align, struct gasmix gasmix);
|
||||
QVector<QPolygonF> polygons;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue