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

Method refreshAll

app/src/Sessions/DatabaseWorker.cpp:147–159  ·  view source on GitHub ↗

* @brief Re-runs every internal cache fetch and ships the results back. */

Source from the content-addressed store, hash-verified

145 * @brief Re-runs every internal cache fetch and ships the results back.
146 */
147void Sessions::DatabaseWorker::refreshAll()
148{
149 if (!m_db.isOpen())
150 return;
151
152 refreshSessionListInternal();
153 refreshTagListInternal();
154 refreshLockStateInternal();
155
156 Q_EMIT sessionListRefreshed(m_sessionList);
157 Q_EMIT tagListRefreshed(m_tagList);
158 Q_EMIT lockStateChanged(m_locked, m_passwordHash);
159}
160
161//--------------------------------------------------------------------------------------------------
162// Session mutations

Callers

nothing calls this directly

Calls 1

isOpenMethod · 0.45

Tested by

no test coverage detected