Fraxinus  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 }
virtual Desktop getActiveDesktop()
virtual QStringList getAllApplicationStateNames() const
virtual QString getApplicationStateName() const
boost::shared_ptr< class WorkflowStateMachine > WorkflowStateMachinePtr
virtual QActionGroup * getWorkflowActions()
Data class for CustusX desktop.
virtual QString getVersionName()
virtual WorkflowStateMachinePtr getWorkflow()
virtual void setWorkFlowState(QString uid)
virtual void saveDesktop(Desktop desktop)
Namespace for all CustusX production code.