23#ifndef APPMANAGEMENT_H
24#define APPMANAGEMENT_H
40 static QString getSettingsFile();
49 inline static QObject* getMainApplication() { QMutexLocker locker (&
m_mutex);
return m_app; }
50 inline static QObject* getAddInManager() { QMutexLocker locker(&
m_mutex);
return m_addInManager; }
51 inline static QObject* getMainWindow() { QMutexLocker locker (&
m_mutex);
return m_mainWin; }
55 inline static QObject* getCoutStream() { QMutexLocker locker (&
m_mutex);
return m_coutStream; }
56 inline static QObject* getCerrStream() { QMutexLocker locker (&
m_mutex);
return m_cerrStream; }
57 inline static QObject* getLogger() { QMutexLocker locker (&
m_mutex);
return m_logger; }
63 m_sew = scriptEditorOrganizer;
69 m_addInManager = addInManager;
81 m_psp = pythonStatePublisher;
87 m_plo = paletteOrganizer;
93 m_dwo = designerWidgetOrganizer;
96 static void setMainApplication(QObject* mainApplication)
99 m_app = mainApplication;
102 static void setMainWindow(QObject* mainWindow)
105 m_mainWin = mainWindow;
108 static void setUiOrganizer(QObject* uiOrganizer)
114 static void setProcessOrganizer(QObject* processOrganizer)
120 static void setUserOrganizer(QObject* userOrganizer)
126 static void setStdCoutCerrStreamRedirections(QObject* coutStream, QObject* cerrStream)
133 static void setLogger(QObject* logger)
143 int pluginFileSaveLoad;
155 static QObject* m_mainWin;
156 static QObject* m_addInManager;
< AppManagement (in order to provide access to basic organizers, managers and other main components t...
Definition AppManagement.h:38
static QObject * m_sew
Definition AppManagement.h:149
static void setPaletteOrganizer(QObject *paletteOrganizer)
Definition AppManagement.h:84
static QObject * getPythonStatePublisher()
Definition AppManagement.h:44
static QObject * m_psp
Definition AppManagement.h:151
static void setAddInManager(QObject *addInManager)
Definition AppManagement.h:66
static QMutex m_mutex
Definition AppManagement.h:164
static void setScriptEditorOrganizer(QObject *scriptEditorOrganizer)
Definition AppManagement.h:60
static QObject * getScriptEditorOrganizer()
Definition AppManagement.h:42
static QObject * m_userOrganizer
Definition AppManagement.h:159
static QObject * m_coutStream
Definition AppManagement.h:160
static QObject * getPaletteOrganizer()
Definition AppManagement.h:46
static QObject * m_pe
Definition AppManagement.h:150
static QObject * getPythonEngine()
Definition AppManagement.h:43
static QObject * m_processOrganizer
Definition AppManagement.h:158
static void setPythonEngine(QObject *pythonEngine)
Definition AppManagement.h:72
static void setDesignerWidgetOrganizer(QObject *designerWidgetOrganizer)
Definition AppManagement.h:90
static QObject * getUiOrganizer()
Definition AppManagement.h:52
static QObject * m_app
Definition AppManagement.h:154
static QObject * getDesignerWidgetOrganizer()
Definition AppManagement.h:47
static QObject * m_plo
Definition AppManagement.h:153
static QObject * m_logger
Definition AppManagement.h:162
static void setPythonStatePublisher(QObject *pythonStatePublisher)
Definition AppManagement.h:78
static QObject * m_uiOrganizer
Definition AppManagement.h:157
static QObject * getProcessOrganizer()
Definition AppManagement.h:53
static QObject * m_dwo
Definition AppManagement.h:152
static QObject * m_cerrStream
Definition AppManagement.h:161
Definition apiFunctionsGraph.cpp:40
Definition AppManagement.h:140