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

Method fileOpen

app/src/IO/FileTransmission.cpp:117–120  ·  view source on GitHub ↗

* @brief Returns @c true if a file is selected and a connection is active. */

Source from the content-addressed store, hash-verified

115 * @brief Returns @c true if a file is selected and a connection is active.
116 */
117bool IO::FileTransmission::fileOpen() const
118{
119 return m_file.isOpen() && IO::ConnectionManager::instance().isConnected();
120}
121
122/**
123 * @brief Returns @c true if the file-transmission UI is allowed in operator mode.

Callers

nothing calls this directly

Calls 2

isOpenMethod · 0.45
isConnectedMethod · 0.45

Tested by

no test coverage detected