mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8250 Use variadic macros and remove obsolete parameters
This commit is contained in:
@@ -45,12 +45,12 @@ CAF_PDM_SOURCE_INIT( RicCreateMultipleWellPathLateralsUi, "RicCreateMultipleWell
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicCreateMultipleWellPathLateralsUi::RicCreateMultipleWellPathLateralsUi()
|
||||
{
|
||||
CAF_PDM_InitFieldNoDefault( &m_sourceLateral, "SourceLaterals", "Source Well Path Lateral", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_sourceLateral, "SourceLaterals", "Source Well Path Lateral" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_topLevelWellPath, "TopLevelWellPath", "Top Level Well Path", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_topLevelWellPath, "TopLevelWellPath", "Top Level Well Path" );
|
||||
m_topLevelWellPath.uiCapability()->setUiHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_locations, "Locations", "Locations", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_locations, "Locations", "Locations" );
|
||||
m_locations = new RimMultipleLocations;
|
||||
}
|
||||
|
||||
|
||||
@@ -48,8 +48,8 @@ class RicImportWellPathsResult : public caf::PdmObject
|
||||
public:
|
||||
RicImportWellPathsResult()
|
||||
{
|
||||
CAF_PDM_InitObject( "well_path_result", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &wellPathNames, "wellPathNames", "", "", "", "" );
|
||||
CAF_PDM_InitObject( "well_path_result" );
|
||||
CAF_PDM_InitFieldNoDefault( &wellPathNames, "wellPathNames", "" );
|
||||
}
|
||||
|
||||
public:
|
||||
@@ -64,9 +64,9 @@ RICF_SOURCE_INIT( RicImportWellPaths, "RicWellPathsImportFileFeature", "importWe
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicImportWellPaths::RicImportWellPaths()
|
||||
{
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_wellPathFolder, "wellPathFolder", "", "", "", "" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_wellPathFiles, "wellPathFiles", "", "", "", "" );
|
||||
CAF_PDM_InitScriptableField( &m_importGrouped, "importGrouped", false, "", "", "", "" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_wellPathFolder, "wellPathFolder", "" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_wellPathFiles, "wellPathFiles", "" );
|
||||
CAF_PDM_InitScriptableField( &m_importGrouped, "importGrouped", false, "" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -25,9 +25,9 @@ CAF_PDM_SOURCE_INIT( RicWellPathsUnitSystemSettingsUi, "RicWellPathsUnitSystemSe
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicWellPathsUnitSystemSettingsUi::RicWellPathsUnitSystemSettingsUi()
|
||||
{
|
||||
CAF_PDM_InitObject( "RimWellPathsUnitSystemSettings", "", "", "" );
|
||||
CAF_PDM_InitObject( "RimWellPathsUnitSystemSettings" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &unitSystem, "UnitSystem", "Unit System", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &unitSystem, "UnitSystem", "Unit System" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user