On Friday 17 January 2025 15:12:36 Pacific Standard Time Marco Bubke via 
Development wrote:
> TouchPoint::Pressed -> Touch::Pressed
> 
> enum class  Touch : int {
>    Pressed,
>    ...
> };
> 
> They than could be forward declared too.

As a side-effect, that means they can't be extracted by moc using Q_FLAG / 
Q_ENUM. The enumeration values must be in the class body for moc to work.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to