Index: sources/gui/guiview.cpp =================================================================== diff -u -rfef563aa317eb3e025e2dab0264e854f05a216d6 -rf148379112a69d1c52027f2667e95f3f96d948ad --- sources/gui/guiview.cpp (.../guiview.cpp) (revision fef563aa317eb3e025e2dab0264e854f05a216d6) +++ sources/gui/guiview.cpp (.../guiview.cpp) (revision f148379112a69d1c52027f2667e95f3f96d948ad) @@ -159,39 +159,3 @@ { emit didExportLog(); } - -/*! - * \brief GuiView::alarmPriorityName - * \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 GuiView::alarmPriorityName(GuiAlarmPriority vEnum) -{ - // 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)); - return mo->enumerator(enumIdx).valueToKey(vEnum); -} - -/*! - * \brief GuiView::alarmIDName - * \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 ID - * \return String representation of the Alarm Id Enum name - */ -QString GuiView::alarmIDName(GuiAlarmID vEnum) -{ - // TEST : 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)); - return mo->enumerator(enumIdx).valueToKey(vEnum); -}