Add Forever::operator Group() const


To enable constructs that expect Forever being a Group.

This is similar to ThenItem::operator ExecutableItem()
of ElseItem::operator ExecutableItem().

Change-Id: Iba7f38e9a7fd8537a2b87836ef1bedb5e291f3fe
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commitfd48909269a7976d01232a881a1aa76038a2c719
parent101a1452f6a2720de8c6182887c14162e21279af
authorJarek Kobus <jaroslaw.kobus@qt.io>
committerJarek Kobus <jaroslaw.kobus@qt.io>
commit timeThu, 12 Mar 2026 11:57:31 +0100