X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCalc%2Fgui%2FWorkspaceController.hxx;h=503e39f55c3150051af06fc506b4f4e3e40996ef;hb=bb9014c6fe3e097edd7009a00dc56f514c680365;hp=f85a068e4b4f68939f83f069a3b3dad677838d89;hpb=b01115dc855ba447124feec6f9640c8f58c72b70;p=modules%2Fmed.git diff --git a/src/MEDCalc/gui/WorkspaceController.hxx b/src/MEDCalc/gui/WorkspaceController.hxx index f85a068e4..503e39f55 100644 --- a/src/MEDCalc/gui/WorkspaceController.hxx +++ b/src/MEDCalc/gui/WorkspaceController.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D +// Copyright (C) 2007-2022 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -22,8 +22,8 @@ #ifndef _WORKSPACE_CONTROLLER_HXX #define _WORKSPACE_CONTROLLER_HXX -#include "TreeGuiManager.hxx" #include "MEDEventListener_i.hxx" +#include "TreeGuiManager.hxx" #include "XmedConsoleDriver.hxx" #include "DatasourceController.hxx" #include "PresentationController.hxx" @@ -52,21 +52,19 @@ public: ~WorkspaceController(); void createActions(); + XmedConsoleDriver* getConsoleDriver() { return _consoleDriver; } public slots: - // Slots overiding TreeGuiManager + // Slots overriding TreeGuiManager void processItemList(QStringList itemNameIdList, int actionId); // Internal slots void processMedEvent(const MEDCALC::MedEvent* event); void processDatasourceEvent(const DatasourceEvent* event); - void processPresentationEvent(const PresentationEvent* event); void processProcessingEvent(const ProcessingEvent* event); void OnSaveWorkspace(); void OnCleanWorkspace(); - void onRequestTermination(); - signals: void workspaceSignal(const MEDCALC::MedEvent* event); @@ -81,15 +79,13 @@ private: void _saveItemList(QStringList itemNameIdList); void _removeItemList(QStringList itemNameIdList); void _viewItemList(QStringList itemNameIdList); - QString _getViewMode(); - QString _getColorMap(); private: XmedConsoleDriver* _consoleDriver; MEDModule* _salomeModule; MEDEventListener_i* _medEventListener; - // This structure is intended to memorized in a bundle the whole set + // This structure is intended to memorize in a bundle the whole set // of integers identifying the actions of the popup menu associated // to the TreeView embedded in this TreeGuiManager typedef struct {