diff --git a/ApplicationCode/Commands/ExportCommands/RicExportSelectedWellPathsFeature.h b/ApplicationCode/Commands/ExportCommands/RicExportSelectedWellPathsFeature.h index c56a75562d..524a3716a0 100644 --- a/ApplicationCode/Commands/ExportCommands/RicExportSelectedWellPathsFeature.h +++ b/ApplicationCode/Commands/ExportCommands/RicExportSelectedWellPathsFeature.h @@ -18,9 +18,11 @@ #pragma once +#include "cafCmdFeature.h" + #include -#include "cafCmdFeature.h" +#include class RimWellPath; class RicExportWellPathsUi; @@ -41,12 +43,10 @@ class RicExportSelectedWellPathsFeature : public caf::CmdFeature static QFilePtr openFileForExport(const QString& folderName, const QString& fileName); static void handleAction(const std::vector& wellPaths); -protected: - // Overrides - virtual bool isCommandEnabled(); - virtual void onActionTriggered( bool isChecked ); - virtual void setupActionLook(QAction* actionToSetup); - private: + bool isCommandEnabled() override; + void onActionTriggered( bool isChecked ) override; + void setupActionLook(QAction* actionToSetup) override; + static RicExportWellPathsUi* openDialog(); }; diff --git a/ApplicationCode/Commands/ExportCommands/RicExportVisibleWellPathsFeature.h b/ApplicationCode/Commands/ExportCommands/RicExportVisibleWellPathsFeature.h index 9c7e58e41b..dad69bdc6b 100644 --- a/ApplicationCode/Commands/ExportCommands/RicExportVisibleWellPathsFeature.h +++ b/ApplicationCode/Commands/ExportCommands/RicExportVisibleWellPathsFeature.h @@ -18,10 +18,13 @@ #pragma once -#include #include "cafCmdFeature.h" +#include + +#include + class RimWellPath; //================================================================================================== @@ -39,9 +42,8 @@ class RicExportVisibleWellPathsFeature : public caf::CmdFeature void exportWellPath(const RimWellPath* wellPath, double mdStepSize, const QString& folder); QFilePtr openFileForExport(const QString& folderName, const QString& fileName); -protected: - // Overrides - virtual bool isCommandEnabled(); - virtual void onActionTriggered( bool isChecked ); - virtual void setupActionLook(QAction* actionToSetup); +private: + bool isCommandEnabled() override; + void onActionTriggered( bool isChecked ) override; + void setupActionLook(QAction* actionToSetup) override; };