MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / newConsole

Method newConsole

src/plugins/console/consolemanager.cpp:232–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232QUuid ConsoleManager::newConsole(const QString &name, bool rename)
233{
234 auto ptr_term = dynamic_cast<ConsoleWidget*>(this->createConsole(name, true, rename));
235 return QUuid::fromString(d->consoleMap.key(ptr_term, ""));
236}
237
238void ConsoleManager::selectConsole(const QUuid &uuid)
239{

Callers

nothing calls this directly

Calls 2

createConsoleMethod · 0.95
keyMethod · 0.45

Tested by

no test coverage detected