mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
Made methods protected and added descriptions
This commit is contained in:
parent
a7515ad6fd
commit
573f28a8ec
@ -45,13 +45,6 @@ class QgsPythonUtilsImpl : public QgsPythonUtils
|
||||
bool startServerPlugin( QString packageName ) override;
|
||||
#endif
|
||||
|
||||
// functions that do the initialization work
|
||||
bool checkSystemImports();
|
||||
bool checkQgisUser();
|
||||
void doUserImports();
|
||||
void init();
|
||||
void finish();
|
||||
|
||||
//! close python interpreter
|
||||
void exitPython() override;
|
||||
|
||||
@ -121,6 +114,25 @@ class QgsPythonUtilsImpl : public QgsPythonUtils
|
||||
|
||||
protected:
|
||||
|
||||
/* functions that do the initialization work */
|
||||
|
||||
//! initialize Python context
|
||||
void init();
|
||||
|
||||
//! check qgis imports and plugins
|
||||
//@return true if all imports worked
|
||||
bool checkSystemImports();
|
||||
|
||||
//@return true if qgis.user could be imported
|
||||
bool checkQgisUser();
|
||||
|
||||
//! import user defined Python code
|
||||
void doUserImports();
|
||||
|
||||
//! cleanup Python context
|
||||
void finish();
|
||||
|
||||
|
||||
void installErrorHook();
|
||||
|
||||
void uninstallErrorHook();
|
||||
|
Loading…
x
Reference in New Issue
Block a user