mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 07:56:08 -06:00
Add some const to GeoMechResultDefinition
To prepare for separate legend update code needed bu #5019
This commit is contained in:
parent
31a698243d
commit
5d03ecb115
@ -601,7 +601,7 @@ bool RimGeoMechResultDefinition::hasResult()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
QString RimGeoMechResultDefinition::resultFieldUiName()
|
QString RimGeoMechResultDefinition::resultFieldUiName() const
|
||||||
{
|
{
|
||||||
return convertToUiResultFieldName( m_resultFieldName() );
|
return convertToUiResultFieldName( m_resultFieldName() );
|
||||||
}
|
}
|
||||||
@ -609,7 +609,7 @@ QString RimGeoMechResultDefinition::resultFieldUiName()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
QString RimGeoMechResultDefinition::resultComponentUiName()
|
QString RimGeoMechResultDefinition::resultComponentUiName() const
|
||||||
{
|
{
|
||||||
return m_resultComponentName();
|
return m_resultComponentName();
|
||||||
}
|
}
|
||||||
|
@ -62,10 +62,10 @@ public:
|
|||||||
QString diffResultUiShortName() const;
|
QString diffResultUiShortName() const;
|
||||||
void setResultAddress( const RigFemResultAddress& resultAddress );
|
void setResultAddress( const RigFemResultAddress& resultAddress );
|
||||||
|
|
||||||
QString resultFieldUiName();
|
QString resultFieldUiName() const;
|
||||||
QString resultComponentUiName();
|
QString resultComponentUiName() const;
|
||||||
|
|
||||||
bool hasCategoryResult()
|
bool hasCategoryResult() const
|
||||||
{
|
{
|
||||||
return m_resultPositionType() == RIG_FORMATION_NAMES;
|
return m_resultPositionType() == RIG_FORMATION_NAMES;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user