23 #ifndef APPMANAGEMENT_H 24 #define APPMANAGEMENT_H 42 static QString getSettingsFile();
50 inline static QObject* getMainApplication() { QMutexLocker locker (&
m_mutex);
return m_app; }
51 inline static QObject* getAddInManager() { QMutexLocker locker(&
m_mutex);
return m_addInManager; }
52 inline static QObject* getMainWindow() { QMutexLocker locker (&
m_mutex);
return m_mainWin; }
57 static QTextCodec* getScriptTextCodec();
58 static void setScriptTextCodec(QTextCodec *codec);
64 m_sew = scriptEditorOrganizer;
70 m_addInManager = addInManager;
82 m_plo = paletteOrganizer;
88 m_dwo = designerWidgetOrganizer;
91 static void setMainApplication(QObject* mainApplication)
94 m_app = mainApplication;
97 static void setMainWindow(QObject* mainWindow)
100 m_mainWin = mainWindow;
103 static void setUiOrganizer(QObject* uiOrganizer)
109 static void setProcessOrganizer(QObject* processOrganizer)
115 static void setUserOrganizer(QObject* userOrganizer)
125 int pluginFileSaveLoad;
136 static QObject* m_mainWin;
137 static QObject* m_addInManager;
148 #endif // APPMANAGEMENT_H static QObject * m_uiOrganizer
Definition: AppManagement.h:138
static QObject * m_userOrganizer
Definition: AppManagement.h:140
static void setAddInManager(QObject *addInManager)
Definition: AppManagement.h:67
Definition: AppManagement.h:121
static void setPythonEngine(QObject *pythonEngine)
Definition: AppManagement.h:73
static QTextCodec * m_scriptTextCodec
Definition: AppManagement.h:141
static QObject * m_sew
Definition: AppManagement.h:131
< AppManagement (in order to provide access to basic organizers, managers and other main components t...
Definition: AppManagement.h:39
static QObject * m_pe
Definition: AppManagement.h:132
static QObject * getProcessOrganizer()
Definition: AppManagement.h:54
static QObject * m_dwo
Definition: AppManagement.h:133
static void setPaletteOrganizer(QObject *paletteOrganizer)
Definition: AppManagement.h:79
static QObject * m_app
Definition: AppManagement.h:135
Definition: apiFunctionsGraph.cpp:39
static QMutex m_mutex
Definition: AppManagement.h:142
static QObject * getPaletteOrganizer()
Definition: AppManagement.h:47
static QObject * getPythonEngine()
Definition: AppManagement.h:45
static void setDesignerWidgetOrganizer(QObject *designerWidgetOrganizer)
Definition: AppManagement.h:85
static QObject * getScriptEditorOrganizer()
Definition: AppManagement.h:44
static QObject * m_plo
Definition: AppManagement.h:134
static void setScriptEditorOrganizer(QObject *scriptEditorOrganizer)
Definition: AppManagement.h:61
static QObject * m_processOrganizer
Definition: AppManagement.h:139
static QObject * getDesignerWidgetOrganizer()
Definition: AppManagement.h:48
static QObject * getUiOrganizer()
Definition: AppManagement.h:53