1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-16 21:05:26 +03:00

STAY replaced by EDGE in constants names

This commit is contained in:
bsongis 2014-08-28 15:27:43 +02:00
parent c107a1bc8e
commit e620230e44
9 changed files with 29 additions and 29 deletions

View file

@ -522,8 +522,8 @@ QString CurveReference::toString()
CSFunctionFamily LogicalSwitchData::getFunctionFamily()
{
if (func == LS_FN_STAY)
return LS_FAMILY_STAY;
if (func == LS_FN_EDGE)
return LS_FAMILY_EDGE;
else if (func == LS_FN_TIMER)
return LS_FAMILY_TIMER;
else if (func == LS_FN_STICKY)
@ -589,7 +589,7 @@ QString LogicalSwitchData::funcToString()
return QObject::tr("Timer");
case LS_FN_STICKY:
return QObject::tr("Sticky");
case LS_FN_STAY:
case LS_FN_EDGE:
return QObject::tr("Edge");
default:
return QObject::tr("Unknown");
@ -607,7 +607,7 @@ QString LogicalSwitchData::toString(const ModelData & model, const GeneralSettin
result +="( ";
}
switch (getFunctionFamily()) {
case LS_FAMILY_STAY:
case LS_FAMILY_EDGE:
result += QObject::tr("Edge(%1, [%2:%3])").arg(RawSwitch(val1).toString()).arg(ValToTim(val2)).arg(ValToTim(val2+val3));
break;
case LS_FAMILY_STICKY: