* @brief Returns true when the connection is open but writes are disabled. */
| 162 | * @brief Returns true when the connection is open but writes are disabled. |
| 163 | */ |
| 164 | bool IO::ConnectionManager::readOnly() const |
| 165 | { |
| 166 | return isConnected() && !m_writeEnabled; |
| 167 | } |
| 168 | |
| 169 | /** |
| 170 | * @brief Returns true when the connection is open and writes are enabled. |