mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Linux compile fix
This commit is contained in:
parent
0127e0c1b5
commit
f8d4864e53
@ -18,9 +18,11 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "cafCmdFeature.h"
|
||||||
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
#include "cafCmdFeature.h"
|
#include <memory>
|
||||||
|
|
||||||
class RimWellPath;
|
class RimWellPath;
|
||||||
class RicExportWellPathsUi;
|
class RicExportWellPathsUi;
|
||||||
@ -41,12 +43,10 @@ class RicExportSelectedWellPathsFeature : public caf::CmdFeature
|
|||||||
static QFilePtr openFileForExport(const QString& folderName, const QString& fileName);
|
static QFilePtr openFileForExport(const QString& folderName, const QString& fileName);
|
||||||
static void handleAction(const std::vector<RimWellPath*>& wellPaths);
|
static void handleAction(const std::vector<RimWellPath*>& wellPaths);
|
||||||
|
|
||||||
protected:
|
|
||||||
// Overrides
|
|
||||||
virtual bool isCommandEnabled();
|
|
||||||
virtual void onActionTriggered( bool isChecked );
|
|
||||||
virtual void setupActionLook(QAction* actionToSetup);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
bool isCommandEnabled() override;
|
||||||
|
void onActionTriggered( bool isChecked ) override;
|
||||||
|
void setupActionLook(QAction* actionToSetup) override;
|
||||||
|
|
||||||
static RicExportWellPathsUi* openDialog();
|
static RicExportWellPathsUi* openDialog();
|
||||||
};
|
};
|
||||||
|
@ -18,10 +18,13 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QFile>
|
|
||||||
|
|
||||||
#include "cafCmdFeature.h"
|
#include "cafCmdFeature.h"
|
||||||
|
|
||||||
|
#include <QFile>
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
class RimWellPath;
|
class RimWellPath;
|
||||||
|
|
||||||
//==================================================================================================
|
//==================================================================================================
|
||||||
@ -39,9 +42,8 @@ class RicExportVisibleWellPathsFeature : public caf::CmdFeature
|
|||||||
void exportWellPath(const RimWellPath* wellPath, double mdStepSize, const QString& folder);
|
void exportWellPath(const RimWellPath* wellPath, double mdStepSize, const QString& folder);
|
||||||
QFilePtr openFileForExport(const QString& folderName, const QString& fileName);
|
QFilePtr openFileForExport(const QString& folderName, const QString& fileName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
// Overrides
|
bool isCommandEnabled() override;
|
||||||
virtual bool isCommandEnabled();
|
void onActionTriggered( bool isChecked ) override;
|
||||||
virtual void onActionTriggered( bool isChecked );
|
void setupActionLook(QAction* actionToSetup) override;
|
||||||
virtual void setupActionLook(QAction* actionToSetup);
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user