* @brief Sets the window active state. */
| 353 | * @brief Sets the window active state. |
| 354 | */ |
| 355 | void Titlebar::setWindowActive(bool active) |
| 356 | { |
| 357 | if (m_windowActive != active) { |
| 358 | m_windowActive = active; |
| 359 | Q_EMIT windowActiveChanged(); |
| 360 | update(); |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | /** |
| 365 | * @brief Sets the title bar background color. |