* @brief Sets the title bar text. */
| 341 | * @brief Sets the title bar text. |
| 342 | */ |
| 343 | void Titlebar::setTitle(const QString& title) |
| 344 | { |
| 345 | if (m_title != title) { |
| 346 | m_title = title; |
| 347 | Q_EMIT titleChanged(); |
| 348 | update(); |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | /** |
| 353 | * @brief Sets the window active state. |