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

Method workspaceFolderTree

app/src/DataModel/ProjectEditor.cpp:5929–5932  ·  view source on GitHub ↗

* @brief Returns the workspace folders as {id, title} for move-target menus. */

Source from the content-addressed store, hash-verified

5927 * @brief Returns the workspace folders as {id, title} for move-target menus.
5928 */
5929QVariantList DataModel::ProjectEditor::workspaceFolderTree() const
5930{
5931 return buildFolderTree(DataModel::ProjectModel::instance().editorWorkspaceFolders(), -1);
5932}
5933
5934/**
5935 * @brief Returns the folders and workspaces directly under @p parentFolderId (folders first).

Callers

nothing calls this directly

Calls 1

buildFolderTreeFunction · 0.85

Tested by

no test coverage detected