Index: sources/view/hd/alarm/VAlarmStatus.cpp =================================================================== diff -u -r695e95aa2ec5e6e1c395567449ac0f671ecd61ed -rf688ed9f1c64a2603a6d10fbb090b257a43e1f6f --- sources/view/hd/alarm/VAlarmStatus.cpp (.../VAlarmStatus.cpp) (revision 695e95aa2ec5e6e1c395567449ac0f671ecd61ed) +++ sources/view/hd/alarm/VAlarmStatus.cpp (.../VAlarmStatus.cpp) (revision f688ed9f1c64a2603a6d10fbb090b257a43e1f6f) @@ -152,29 +152,6 @@ } /*! - * \brief VAlarmStatus::alarmPriorityText - * \details this code is the place holder for the alarms description mapping - * since it is another feature - * it returns the enum name for now - * \param vEnum - The Alarm priority - * \return String representation of the Alarm priority Enum name - */ -QString VAlarmStatus::alarmPriorityText(GuiAlarmPriority vEnum) -{ - // coco begin validated: this code is the place holder for the alarms description mapping - // since it is another feature - // it returns the enum name for now - const QMetaObject *mo = qt_getEnumMetaObject(vEnum); - int enumIdx = mo->indexOfEnumerator(qt_getEnumName(vEnum)); - const char *key = mo->enumerator(enumIdx).valueToKey(vEnum); - if (key) - return qPrintable(key); - else - return QString("ALARM_PRIORITY_UNDEFINED [%1]").arg(vEnum); -} -// coco end - -/*! * \brief VAlarmStatus::alarmIDText * \details Looks up the alarm text from the alarm ID * \param vEnum - The Alarm ID