MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / renameWorkspace

Method renameWorkspace

app/src/UI/Taskbar.cpp:1653–1660  ·  view source on GitHub ↗

* @brief Renames a user-defined workspace. */

Source from the content-addressed store, hash-verified

1651 * @brief Renames a user-defined workspace.
1652 */
1653void UI::Taskbar::renameWorkspace(int workspaceId, const QString& name)
1654{
1655 if (workspaceId < WorkspaceIds::AutoStart)
1656 return;
1657
1658 DataModel::ProjectModel::instance().renameWorkspace(workspaceId, name);
1659 Q_EMIT workspaceModelChanged();
1660}
1661
1662/**
1663 * @brief Adds the widget identified by windowId to the active workspace.

Callers 1

renameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected