NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxStateServiceNull.cpp
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 #include "cxStateServiceNull.h"
12 #include <QStringList>
13 #include <QActionGroup>
14 
15 namespace cx
16 {
17 
19 {
20  mActionGroup = new QActionGroup(this);
21 }
22 
23 QString StateServiceNull::getVersionName() { return ""; }
24 //QActionGroup* StateServiceNull::getApplicationActions() { return mActionGroup; }
25 QString StateServiceNull::getApplicationStateName() const { return ""; }
26 QStringList StateServiceNull::getAllApplicationStateNames() const { return QStringList(); }
27 
28 QActionGroup* StateServiceNull::getWorkflowActions() { return mActionGroup; }
30 
34 
36 
37 bool StateServiceNull::isNull() { return true; }
38 
39 }
cx::StateServiceNull::saveDesktop
virtual void saveDesktop(Desktop desktop)
Definition: cxStateServiceNull.cpp:32
cx::StateServiceNull::getWorkflow
virtual WorkflowStateMachinePtr getWorkflow()
Definition: cxStateServiceNull.cpp:35
cx::StateServiceNull::StateServiceNull
StateServiceNull()
Definition: cxStateServiceNull.cpp:18
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::StateServiceNull::isNull
virtual bool isNull()
Definition: cxStateServiceNull.cpp:37
cx::WorkflowStateMachinePtr
boost::shared_ptr< class WorkflowStateMachine > WorkflowStateMachinePtr
Definition: cxStateServiceImpl.h:21
cx::StateServiceNull::resetDesktop
virtual void resetDesktop()
Definition: cxStateServiceNull.cpp:33
cx::StateServiceNull::getActiveDesktop
virtual Desktop getActiveDesktop()
Definition: cxStateServiceNull.cpp:31
cx::StateServiceNull::getVersionName
virtual QString getVersionName()
Definition: cxStateServiceNull.cpp:23
cx::StateServiceNull::getApplicationStateName
virtual QString getApplicationStateName() const
Definition: cxStateServiceNull.cpp:25
cx::StateServiceNull::setWorkFlowState
virtual void setWorkFlowState(QString uid)
Definition: cxStateServiceNull.cpp:29
cx::StateServiceNull::getAllApplicationStateNames
virtual QStringList getAllApplicationStateNames() const
Definition: cxStateServiceNull.cpp:26
cx::StateServiceNull::getWorkflowActions
virtual QActionGroup * getWorkflowActions()
Definition: cxStateServiceNull.cpp:28
cxStateServiceNull.h
cx::Desktop
Data class for CustusX desktop.
Definition: cxStateService.h:43