subsurface/core/subsurface-qt/cylinderobjecthelper.cpp
Berthold Stoeger 9ed886e4be Cleanup: lower-case filenames in core/subsurface-qt/
We tend to use lower-case filenames. Let's do it for these files
as well. Simple search & replace.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-02-04 02:16:46 +01:00

18 lines
655 B
C++

// SPDX-License-Identifier: GPL-2.0
#include "cylinderobjecthelper.h"
#include "../qthelper.h"
static QString EMPTY_CYLINDER_STRING = QStringLiteral("");
CylinderObjectHelper::CylinderObjectHelper(const cylinder_t *cylinder)
{
if (!cylinder)
return;
description = cylinder->type.description ? cylinder->type.description:
EMPTY_CYLINDER_STRING;
size = get_volume_string(cylinder->type.size, true);
workingPressure = get_pressure_string(cylinder->type.workingpressure, true);
startPressure = get_pressure_string(cylinder->start, true);
endPressure = get_pressure_string(cylinder->end, true);
gasMix = get_gas_string(cylinder->gasmix);
}