mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
Linux compile fix
This commit is contained in:
parent
0127e0c1b5
commit
f8d4864e53
@ -18,9 +18,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cafCmdFeature.h"
|
||||
|
||||
#include <QFile>
|
||||
|
||||
#include "cafCmdFeature.h"
|
||||
#include <memory>
|
||||
|
||||
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<RimWellPath*>& 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();
|
||||
};
|
||||
|
@ -18,10 +18,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QFile>
|
||||
|
||||
#include "cafCmdFeature.h"
|
||||
|
||||
#include <QFile>
|
||||
|
||||
#include <memory>
|
||||
|
||||
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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user