File tree 1 file changed +19
-7
lines changed
1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,6 @@ class QgsPythonUtilsImpl : public QgsPythonUtils
45
45
bool startServerPlugin ( QString packageName ) override ;
46
46
#endif
47
47
48
- // functions that do the initialization work
49
- bool checkSystemImports ();
50
- bool checkQgisUser ();
51
- void doUserImports ();
52
- void init ();
53
- void finish ();
54
-
55
48
// ! close python interpreter
56
49
void exitPython () override ;
57
50
@@ -121,6 +114,25 @@ class QgsPythonUtilsImpl : public QgsPythonUtils
121
114
122
115
protected:
123
116
117
+ /* functions that do the initialization work */
118
+
119
+ // ! initialize Python context
120
+ void init ();
121
+
122
+ // ! check qgis imports and plugins
123
+ // @return true if all imports worked
124
+ bool checkSystemImports ();
125
+
126
+ // @return true if qgis.user could be imported
127
+ bool checkQgisUser ();
128
+
129
+ // ! import user defined Python code
130
+ void doUserImports ();
131
+
132
+ // ! cleanup Python context
133
+ void finish ();
134
+
135
+
124
136
void installErrorHook ();
125
137
126
138
void uninstallErrorHook ();
You can’t perform that action at this time.
0 commit comments