Changeset View
Changeset View
Standalone View
Standalone View
outputview/outputexecutejob.h
Show First 20 Lines • Show All 219 Lines • ▼ Show 20 Line(s) | 37 | public: | |||
---|---|---|---|---|---|
220 | */ | 220 | */ | ||
221 | void setEnvironmentProfile( const QString& profile ); | 221 | void setEnvironmentProfile( const QString& profile ); | ||
222 | 222 | | |||
223 | void start() override; | 223 | void start() override; | ||
224 | 224 | | |||
225 | protected: | 225 | protected: | ||
226 | bool doKill() override; | 226 | bool doKill() override; | ||
227 | 227 | | |||
228 | protected slots: | 228 | protected Q_SLOTS: | ||
229 | // Redefine these functions if you want to post-process the output somehow | 229 | // Redefine these functions if you want to post-process the output somehow | ||
230 | // before it hits the output model. | 230 | // before it hits the output model. | ||
231 | // Default implementations for either function call "model()->appendLines( lines );". | 231 | // Default implementations for either function call "model()->appendLines( lines );". | ||
232 | // Do the same if you need the output to be visible. | 232 | // Do the same if you need the output to be visible. | ||
233 | virtual void postProcessStdout( const QStringList& lines ); | 233 | virtual void postProcessStdout( const QStringList& lines ); | ||
234 | virtual void postProcessStderr( const QStringList& lines ); | 234 | virtual void postProcessStderr( const QStringList& lines ); | ||
235 | 235 | | |||
236 | // Redefine these functions if you want to handle process' exit codes in a special manner. | 236 | // Redefine these functions if you want to handle process' exit codes in a special manner. | ||
Show All 14 Lines |