MCPcopy Create free account
hub / github.com/Kitware/ParaView / Q_FOREACH

Function Q_FOREACH

Qt/Python/pqPythonShell.cxx:374–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372 this->Prompted = false;
373 this->Internals->begin();
374 Q_FOREACH (QString line, lines)
375 {
376 bool isMultilineStatement = this->Internals->interpreter()->Push(line.toUtf8().data());
377 this->Prompt = isMultilineStatement ? pqPythonShell::PS2() : pqPythonShell::PS1();
378 }
379 this->Internals->end();
380 this->prompt();
381 CLEAR_UNDO_STACK();

Callers

nothing calls this directly

Calls 5

PS2Function · 0.85
PS1Function · 0.85
interpreterMethod · 0.80
PushMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected