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

Method setTitle

app/src/DataModel/ProjectModel.cpp:2167–2174  ·  view source on GitHub ↗

* @brief Updates the project title and emits titleChanged. */

Source from the content-addressed store, hash-verified

2165 * @brief Updates the project title and emits titleChanged.
2166 */
2167void DataModel::ProjectModel::setTitle(const QString& title)
2168{
2169 if (m_title != title) {
2170 m_title = title;
2171 setModified(true);
2172 Q_EMIT titleChanged();
2173 }
2174}
2175
2176/**
2177 * @brief Returns the project setup()/loop() control script source.

Callers 1

onProjectItemChangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected