Linux compile fix

This commit is contained in:
Magne Sjaastad 2018-09-21 16:16:46 +02:00
parent 0127e0c1b5
commit f8d4864e53
2 changed files with 15 additions and 13 deletions

View File

@ -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();
};

View File

@ -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;
};